pub struct DeviceReset {
pub old_device: DeviceId,
pub new_device: DeviceId,
}Expand description
A replacement of this installation, not a membership removal (E5).
Fields§
§old_device: DeviceIdThe id whose local copy was discarded.
new_device: DeviceIdThe fresh id the replacement registers.
Trait Implementations§
Source§impl Clone for DeviceReset
impl Clone for DeviceReset
Source§fn clone(&self) -> DeviceReset
fn clone(&self) -> DeviceReset
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 DeviceReset
impl Debug for DeviceReset
Source§impl<'de> Deserialize<'de> for DeviceReset
impl<'de> Deserialize<'de> for DeviceReset
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 for DeviceReset
impl PartialEq for DeviceReset
Source§impl Serialize for DeviceReset
impl Serialize for DeviceReset
impl Copy for DeviceReset
impl Eq for DeviceReset
impl StructuralPartialEq for DeviceReset
Auto Trait Implementations§
impl Freeze for DeviceReset
impl RefUnwindSafe for DeviceReset
impl Send for DeviceReset
impl Sync for DeviceReset
impl Unpin for DeviceReset
impl UnsafeUnpin for DeviceReset
impl UnwindSafe for DeviceReset
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