pub enum StartOnBoot {
On,
Off,
Laststate,
}Expand description
on- On *off- Off *laststate- Last State
Variants§
Trait Implementations§
Source§impl Clone for StartOnBoot
impl Clone for StartOnBoot
Source§fn clone(&self) -> StartOnBoot
fn clone(&self) -> StartOnBoot
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 StartOnBoot
Source§impl Debug for StartOnBoot
impl Debug for StartOnBoot
Source§impl Default for StartOnBoot
impl Default for StartOnBoot
Source§fn default() -> StartOnBoot
fn default() -> StartOnBoot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StartOnBoot
impl<'de> Deserialize<'de> for StartOnBoot
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
impl Eq for StartOnBoot
Source§impl Hash for StartOnBoot
impl Hash for StartOnBoot
Source§impl Ord for StartOnBoot
impl Ord for StartOnBoot
Source§fn cmp(&self, other: &StartOnBoot) -> Ordering
fn cmp(&self, other: &StartOnBoot) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StartOnBoot
impl PartialEq for StartOnBoot
Source§fn eq(&self, other: &StartOnBoot) -> bool
fn eq(&self, other: &StartOnBoot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StartOnBoot
impl PartialOrd for StartOnBoot
Source§impl Serialize for StartOnBoot
impl Serialize for StartOnBoot
impl StructuralPartialEq for StartOnBoot
Auto Trait Implementations§
impl Freeze for StartOnBoot
impl RefUnwindSafe for StartOnBoot
impl Send for StartOnBoot
impl Sync for StartOnBoot
impl Unpin for StartOnBoot
impl UnsafeUnpin for StartOnBoot
impl UnwindSafe for StartOnBoot
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