#[repr(u8)]pub enum EndOfService {
Normal = 0,
Expired = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for EndOfService
impl Clone for EndOfService
Source§fn clone(&self) -> EndOfService
fn clone(&self) -> EndOfService
Returns a duplicate 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 EndOfService
impl Debug for EndOfService
Source§impl<'de> Deserialize<'de> for EndOfService
impl<'de> Deserialize<'de> for EndOfService
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<EndOfService> for u8
impl From<EndOfService> for u8
Source§fn from(val: EndOfService) -> Self
fn from(val: EndOfService) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EndOfService
impl PartialEq for EndOfService
Source§impl Serialize for EndOfService
impl Serialize for EndOfService
impl Copy for EndOfService
impl Eq for EndOfService
impl StructuralPartialEq for EndOfService
Auto Trait Implementations§
impl Freeze for EndOfService
impl RefUnwindSafe for EndOfService
impl Send for EndOfService
impl Sync for EndOfService
impl Unpin for EndOfService
impl UnwindSafe for EndOfService
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