Struct sep2_common::packages::types::RealEnergy
source · pub struct RealEnergy {
pub multiplier: PowerOfTenMultiplierType,
pub value: Uint48,
}
Expand description
Real electrical energy
Fields§
§multiplier: PowerOfTenMultiplierType
Multiplier for ‘unit’.
value: Uint48
Value of the energy in Watt-hours. (uom 72)
Trait Implementations§
source§impl Clone for RealEnergy
impl Clone for RealEnergy
source§fn clone(&self) -> RealEnergy
fn clone(&self) -> RealEnergy
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 RealEnergy
impl Debug for RealEnergy
source§impl Default for RealEnergy
impl Default for RealEnergy
source§fn default() -> RealEnergy
fn default() -> RealEnergy
Returns the “default value” for a type. Read more
source§impl PartialEq<RealEnergy> for RealEnergy
impl PartialEq<RealEnergy> for RealEnergy
source§fn eq(&self, other: &RealEnergy) -> bool
fn eq(&self, other: &RealEnergy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for RealEnergy
impl YaDeserialize for RealEnergy
source§impl YaSerialize for RealEnergy
impl YaSerialize for RealEnergy
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 RealEnergy
impl StructuralEq for RealEnergy
impl StructuralPartialEq for RealEnergy
Auto Trait Implementations§
impl RefUnwindSafe for RealEnergy
impl Send for RealEnergy
impl Sync for RealEnergy
impl Unpin for RealEnergy
impl UnwindSafe for RealEnergy
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