#[repr(u8)]pub enum ZoneSource {
Mfg = 0,
User = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ZoneSource
impl Clone for ZoneSource
Source§fn clone(&self) -> ZoneSource
fn clone(&self) -> ZoneSource
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 ZoneSource
impl Debug for ZoneSource
Source§impl<'de> Deserialize<'de> for ZoneSource
impl<'de> Deserialize<'de> for ZoneSource
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<ZoneSource> for u8
impl From<ZoneSource> for u8
Source§fn from(val: ZoneSource) -> Self
fn from(val: ZoneSource) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ZoneSource
impl PartialEq for ZoneSource
Source§impl Serialize for ZoneSource
impl Serialize for ZoneSource
impl Copy for ZoneSource
impl Eq for ZoneSource
impl StructuralPartialEq for ZoneSource
Auto Trait Implementations§
impl Freeze for ZoneSource
impl RefUnwindSafe for ZoneSource
impl Send for ZoneSource
impl Sync for ZoneSource
impl Unpin for ZoneSource
impl UnwindSafe for ZoneSource
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