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