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