Enum sep2_common::packages::der::DERUnitRefType
source · #[repr(u8)]pub enum DERUnitRefType {
NotApplicable = 0,
SetMaxW = 1,
SetMaxVar = 2,
StatVarAvail = 3,
SetEffectiveV = 4,
SetMaxChargeRateW = 5,
SetMaxDischargeRateW = 6,
StatWAvail = 7,
}
Available on crate feature
der
only.Variants§
NotApplicable = 0
Specifies context for interpreting percent values:
SetMaxW = 1
SetMaxVar = 2
StatVarAvail = 3
SetEffectiveV = 4
SetMaxChargeRateW = 5
SetMaxDischargeRateW = 6
StatWAvail = 7
Trait Implementations§
source§impl Clone for DERUnitRefType
impl Clone for DERUnitRefType
source§fn clone(&self) -> DERUnitRefType
fn clone(&self) -> DERUnitRefType
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 DERUnitRefType
impl Debug for DERUnitRefType
source§impl Default for DERUnitRefType
impl Default for DERUnitRefType
source§fn default() -> DERUnitRefType
fn default() -> DERUnitRefType
Returns the “default value” for a type. Read more
source§impl PartialEq<DERUnitRefType> for DERUnitRefType
impl PartialEq<DERUnitRefType> for DERUnitRefType
source§fn eq(&self, other: &DERUnitRefType) -> bool
fn eq(&self, other: &DERUnitRefType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for DERUnitRefType
impl YaDeserialize for DERUnitRefType
source§impl YaSerialize for DERUnitRefType
impl YaSerialize for DERUnitRefType
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 Copy for DERUnitRefType
impl Eq for DERUnitRefType
impl StructuralEq for DERUnitRefType
impl StructuralPartialEq for DERUnitRefType
Auto Trait Implementations§
impl RefUnwindSafe for DERUnitRefType
impl Send for DERUnitRefType
impl Sync for DERUnitRefType
impl Unpin for DERUnitRefType
impl UnwindSafe for DERUnitRefType
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