#[repr(u8)]pub enum MaintainType {
PlannedMaintenance = 1,
TemporaryMaintenance = 2,
Incident = 3,
}Variants§
Trait Implementations§
Source§impl Clone for MaintainType
impl Clone for MaintainType
Source§fn clone(&self) -> MaintainType
fn clone(&self) -> MaintainType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MaintainType
Source§impl Debug for MaintainType
impl Debug for MaintainType
Source§impl<'de> Deserialize<'de> for MaintainType
impl<'de> Deserialize<'de> for MaintainType
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 PartialEq for MaintainType
impl PartialEq for MaintainType
Source§fn eq(&self, other: &MaintainType) -> bool
fn eq(&self, other: &MaintainType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MaintainType
impl Serialize for MaintainType
impl StructuralPartialEq for MaintainType
Auto Trait Implementations§
impl Freeze for MaintainType
impl RefUnwindSafe for MaintainType
impl Send for MaintainType
impl Sync for MaintainType
impl Unpin for MaintainType
impl UnsafeUnpin for MaintainType
impl UnwindSafe for MaintainType
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