Struct sep2_common::packages::der::PowerFactor
source · pub struct PowerFactor {
pub displacement: Uint16,
pub multiplier: PowerOfTenMultiplierType,
}
Available on crate feature
der
only.Expand description
Specifies a setpoint for Displacement Power Factor, the ratio between apparent and active powers at the fundamental frequency (e.g. 60 Hz).
Fields§
§displacement: Uint16
Significand of an unsigned value of cos(theta) between 0 and 1.0. E.g. a value of 0.95 may be specified as a displacement of 950 and a multiplier of -3.
multiplier: PowerOfTenMultiplierType
Specifies exponent of ‘displacement’.
Trait Implementations§
source§impl Clone for PowerFactor
impl Clone for PowerFactor
source§fn clone(&self) -> PowerFactor
fn clone(&self) -> PowerFactor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PowerFactor
impl Debug for PowerFactor
source§impl Default for PowerFactor
impl Default for PowerFactor
source§fn default() -> PowerFactor
fn default() -> PowerFactor
Returns the “default value” for a type. Read more
source§impl PartialEq<PowerFactor> for PowerFactor
impl PartialEq<PowerFactor> for PowerFactor
source§fn eq(&self, other: &PowerFactor) -> bool
fn eq(&self, other: &PowerFactor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for PowerFactor
impl YaDeserialize for PowerFactor
source§impl YaSerialize for PowerFactor
impl YaSerialize for PowerFactor
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Eq for PowerFactor
impl StructuralEq for PowerFactor
impl StructuralPartialEq for PowerFactor
Auto Trait Implementations§
impl RefUnwindSafe for PowerFactor
impl Send for PowerFactor
impl Sync for PowerFactor
impl Unpin for PowerFactor
impl UnwindSafe for PowerFactor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more