Struct sep2_common::packages::der::AmpereHour
source · pub struct AmpereHour {
pub multiplier: PowerOfTenMultiplierType,
pub value: Uint16,
}
Available on crate feature
der
only.Expand description
Available electric charge
Fields§
§multiplier: PowerOfTenMultiplierType
Specifies exponent of uom.
value: Uint16
Value in ampere-hours (uom 106)
Trait Implementations§
source§impl Clone for AmpereHour
impl Clone for AmpereHour
source§fn clone(&self) -> AmpereHour
fn clone(&self) -> AmpereHour
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 AmpereHour
impl Debug for AmpereHour
source§impl Default for AmpereHour
impl Default for AmpereHour
source§fn default() -> AmpereHour
fn default() -> AmpereHour
Returns the “default value” for a type. Read more
source§impl PartialEq<AmpereHour> for AmpereHour
impl PartialEq<AmpereHour> for AmpereHour
source§fn eq(&self, other: &AmpereHour) -> bool
fn eq(&self, other: &AmpereHour) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for AmpereHour
impl YaDeserialize for AmpereHour
source§impl YaSerialize for AmpereHour
impl YaSerialize for AmpereHour
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 AmpereHour
impl StructuralEq for AmpereHour
impl StructuralPartialEq for AmpereHour
Auto Trait Implementations§
impl RefUnwindSafe for AmpereHour
impl Send for AmpereHour
impl Sync for AmpereHour
impl Unpin for AmpereHour
impl UnwindSafe for AmpereHour
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