Struct mutiny_core::storage::DeviceLock
source · pub struct DeviceLock {
pub time: u32,
pub device: String,
}Fields§
§time: u32§device: StringImplementations§
Trait Implementations§
source§impl Clone for DeviceLock
impl Clone for DeviceLock
source§fn clone(&self) -> DeviceLock
fn clone(&self) -> DeviceLock
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 DeviceLock
impl Debug for DeviceLock
source§impl<'de> Deserialize<'de> for DeviceLock
impl<'de> Deserialize<'de> for DeviceLock
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 PartialEq<DeviceLock> for DeviceLock
impl PartialEq<DeviceLock> for DeviceLock
source§fn eq(&self, other: &DeviceLock) -> bool
fn eq(&self, other: &DeviceLock) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DeviceLock
impl Serialize for DeviceLock
impl Eq for DeviceLock
impl StructuralEq for DeviceLock
impl StructuralPartialEq for DeviceLock
Auto Trait Implementations§
impl RefUnwindSafe for DeviceLock
impl Send for DeviceLock
impl Sync for DeviceLock
impl Unpin for DeviceLock
impl UnwindSafe for DeviceLock
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.