Struct sep2_common::packages::der::WattHour
source · pub struct WattHour {
pub multiplier: PowerOfTenMultiplierType,
pub value: Uint16,
}
Available on crate feature
der
only.Expand description
Active (real) energy
Fields§
§multiplier: PowerOfTenMultiplierType
Specifies exponent of uom.
value: Uint16
Value in watt-hours (uom 72)
Trait Implementations§
source§impl PartialEq<WattHour> for WattHour
impl PartialEq<WattHour> for WattHour
source§impl YaSerialize for WattHour
impl YaSerialize for WattHour
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 WattHour
impl StructuralEq for WattHour
impl StructuralPartialEq for WattHour
Auto Trait Implementations§
impl RefUnwindSafe for WattHour
impl Send for WattHour
impl Sync for WattHour
impl Unpin for WattHour
impl UnwindSafe for WattHour
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