Enum sep2_common::packages::types::UsagePointStatus
source · #[repr(u8)]pub enum UsagePointStatus {
Off = 0,
On = 1,
}
Expand description
Binary Status Enum used in Metering & MirrorMetering
Variants§
Trait Implementations§
source§impl Clone for UsagePointStatus
impl Clone for UsagePointStatus
source§fn clone(&self) -> UsagePointStatus
fn clone(&self) -> UsagePointStatus
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 UsagePointStatus
impl Debug for UsagePointStatus
source§impl Default for UsagePointStatus
impl Default for UsagePointStatus
source§fn default() -> UsagePointStatus
fn default() -> UsagePointStatus
Returns the “default value” for a type. Read more
source§impl PartialEq<UsagePointStatus> for UsagePointStatus
impl PartialEq<UsagePointStatus> for UsagePointStatus
source§fn eq(&self, other: &UsagePointStatus) -> bool
fn eq(&self, other: &UsagePointStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for UsagePointStatus
impl YaDeserialize for UsagePointStatus
source§impl YaSerialize for UsagePointStatus
impl YaSerialize for UsagePointStatus
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 UsagePointStatus
impl Eq for UsagePointStatus
impl StructuralEq for UsagePointStatus
impl StructuralPartialEq for UsagePointStatus
Auto Trait Implementations§
impl RefUnwindSafe for UsagePointStatus
impl Send for UsagePointStatus
impl Sync for UsagePointStatus
impl Unpin for UsagePointStatus
impl UnwindSafe for UsagePointStatus
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