Struct sep2_common::packages::der::ActivePower
source · pub struct ActivePower {
pub multiplier: PowerOfTenMultiplierType,
pub value: Int16,
}
Available on crate feature
der
only.Expand description
The active (real) power P (in W) is the product of root-mean-square (RMS) voltage, RMS current, and cos(theta) where theta is the phase angle of current relative to voltage. It is the primary measure of the rate of flow of energy.
Fields§
§multiplier: PowerOfTenMultiplierType
Specifies exponent for uom.
value: Int16
Value in watts (uom 38)
Trait Implementations§
source§impl Clone for ActivePower
impl Clone for ActivePower
source§fn clone(&self) -> ActivePower
fn clone(&self) -> ActivePower
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 ActivePower
impl Debug for ActivePower
source§impl Default for ActivePower
impl Default for ActivePower
source§fn default() -> ActivePower
fn default() -> ActivePower
Returns the “default value” for a type. Read more
source§impl PartialEq<ActivePower> for ActivePower
impl PartialEq<ActivePower> for ActivePower
source§fn eq(&self, other: &ActivePower) -> bool
fn eq(&self, other: &ActivePower) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for ActivePower
impl YaDeserialize for ActivePower
source§impl YaSerialize for ActivePower
impl YaSerialize for ActivePower
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 ActivePower
impl StructuralEq for ActivePower
impl StructuralPartialEq for ActivePower
Auto Trait Implementations§
impl RefUnwindSafe for ActivePower
impl Send for ActivePower
impl Sync for ActivePower
impl Unpin for ActivePower
impl UnwindSafe for ActivePower
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