Enum sep2_common::packages::der::StorageModeStatusValue
source · #[repr(u8)]pub enum StorageModeStatusValue {
StorageCharging = 0,
StorageDischarging = 1,
StorageHolding = 2,
}
Available on crate feature
der
only.Variants§
Trait Implementations§
source§impl Clone for StorageModeStatusValue
impl Clone for StorageModeStatusValue
source§fn clone(&self) -> StorageModeStatusValue
fn clone(&self) -> StorageModeStatusValue
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 StorageModeStatusValue
impl Debug for StorageModeStatusValue
source§impl Default for StorageModeStatusValue
impl Default for StorageModeStatusValue
source§fn default() -> StorageModeStatusValue
fn default() -> StorageModeStatusValue
Returns the “default value” for a type. Read more
source§impl PartialEq<StorageModeStatusValue> for StorageModeStatusValue
impl PartialEq<StorageModeStatusValue> for StorageModeStatusValue
source§fn eq(&self, other: &StorageModeStatusValue) -> bool
fn eq(&self, other: &StorageModeStatusValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for StorageModeStatusValue
impl YaDeserialize for StorageModeStatusValue
source§impl YaSerialize for StorageModeStatusValue
impl YaSerialize for StorageModeStatusValue
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 StorageModeStatusValue
impl Eq for StorageModeStatusValue
impl StructuralEq for StorageModeStatusValue
impl StructuralPartialEq for StorageModeStatusValue
Auto Trait Implementations§
impl RefUnwindSafe for StorageModeStatusValue
impl Send for StorageModeStatusValue
impl Sync for StorageModeStatusValue
impl Unpin for StorageModeStatusValue
impl UnwindSafe for StorageModeStatusValue
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