Enum nethsm_sdk_rs::models::system_state::SystemState
source · pub enum SystemState {
Unprovisioned,
Locked,
Operational,
}Expand description
Variants§
Trait Implementations§
source§impl Clone for SystemState
impl Clone for SystemState
source§fn clone(&self) -> SystemState
fn clone(&self) -> SystemState
Returns a copy 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 SystemState
impl Debug for SystemState
source§impl Default for SystemState
impl Default for SystemState
source§fn default() -> SystemState
fn default() -> SystemState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SystemState
impl<'de> Deserialize<'de> for SystemState
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 Hash for SystemState
impl Hash for SystemState
source§impl Ord for SystemState
impl Ord for SystemState
source§fn cmp(&self, other: &SystemState) -> Ordering
fn cmp(&self, other: &SystemState) -> Ordering
1.21.0 · 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 SystemState
impl PartialEq for SystemState
source§fn eq(&self, other: &SystemState) -> bool
fn eq(&self, other: &SystemState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for SystemState
impl PartialOrd for SystemState
source§fn partial_cmp(&self, other: &SystemState) -> Option<Ordering>
fn partial_cmp(&self, other: &SystemState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for SystemState
impl Serialize for SystemState
source§impl ToString for SystemState
impl ToString for SystemState
impl Copy for SystemState
impl Eq for SystemState
impl StructuralEq for SystemState
impl StructuralPartialEq for SystemState
Auto Trait Implementations§
impl RefUnwindSafe for SystemState
impl Send for SystemState
impl Sync for SystemState
impl Unpin for SystemState
impl UnwindSafe for SystemState
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