pub struct StoreDevice {
pub member: MemberId,
pub name: String,
pub state: DeviceState,
}Expand description
One install, retained after removal or replacement so its older objects remain attributable (§10.4).
Fields§
§member: MemberIdThe member who added the device.
name: StringThe device’s name from its addition.
state: DeviceStateWhether kept entries removed or replaced it.
Implementations§
Trait Implementations§
Source§impl Clone for StoreDevice
impl Clone for StoreDevice
Source§fn clone(&self) -> StoreDevice
fn clone(&self) -> StoreDevice
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 StoreDevice
impl Debug for StoreDevice
Source§impl PartialEq for StoreDevice
impl PartialEq for StoreDevice
impl Eq for StoreDevice
impl StructuralPartialEq for StoreDevice
Auto Trait Implementations§
impl Freeze for StoreDevice
impl RefUnwindSafe for StoreDevice
impl Send for StoreDevice
impl Sync for StoreDevice
impl Unpin for StoreDevice
impl UnsafeUnpin for StoreDevice
impl UnwindSafe for StoreDevice
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> 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.