pub enum DeviceControlType {
Reboot,
FactoryReset,
BackupConfiguration,
PowerOff,
}Expand description
Device control operation types
Variants§
Trait Implementations§
Source§impl Clone for DeviceControlType
impl Clone for DeviceControlType
Source§fn clone(&self) -> DeviceControlType
fn clone(&self) -> DeviceControlType
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 DeviceControlType
Source§impl Debug for DeviceControlType
impl Debug for DeviceControlType
Source§impl<'de> Deserialize<'de> for DeviceControlType
impl<'de> Deserialize<'de> for DeviceControlType
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 Display for DeviceControlType
impl Display for DeviceControlType
impl Eq for DeviceControlType
Source§impl PartialEq for DeviceControlType
impl PartialEq for DeviceControlType
Source§fn eq(&self, other: &DeviceControlType) -> bool
fn eq(&self, other: &DeviceControlType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeviceControlType
impl Serialize for DeviceControlType
impl StructuralPartialEq for DeviceControlType
Auto Trait Implementations§
impl Freeze for DeviceControlType
impl RefUnwindSafe for DeviceControlType
impl Send for DeviceControlType
impl Sync for DeviceControlType
impl Unpin for DeviceControlType
impl UnsafeUnpin for DeviceControlType
impl UnwindSafe for DeviceControlType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.