pub struct ControllerStatus {
pub last_interaction: String,
alive: bool,
}Fields§
§last_interaction: String§alive: boolTrait Implementations§
Source§impl Clone for ControllerStatus
impl Clone for ControllerStatus
Source§fn clone(&self) -> ControllerStatus
fn clone(&self) -> ControllerStatus
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 ControllerStatus
impl Debug for ControllerStatus
Source§impl Default for ControllerStatus
impl Default for ControllerStatus
Source§fn default() -> ControllerStatus
fn default() -> ControllerStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ControllerStatus
impl<'de> Deserialize<'de> for ControllerStatus
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 Ord for ControllerStatus
impl Ord for ControllerStatus
Source§fn cmp(&self, other: &ControllerStatus) -> Ordering
fn cmp(&self, other: &ControllerStatus) -> 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 ControllerStatus
impl PartialEq for ControllerStatus
Source§impl PartialOrd for ControllerStatus
impl PartialOrd for ControllerStatus
Source§impl Serialize for ControllerStatus
impl Serialize for ControllerStatus
impl Eq for ControllerStatus
impl StructuralPartialEq for ControllerStatus
Auto Trait Implementations§
impl Freeze for ControllerStatus
impl RefUnwindSafe for ControllerStatus
impl Send for ControllerStatus
impl Sync for ControllerStatus
impl Unpin for ControllerStatus
impl UnwindSafe for ControllerStatus
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.