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