pub struct DeviceRecoveryId(/* private fields */);Implementations§
Source§impl DeviceRecoveryId
impl DeviceRecoveryId
pub fn from_hash(hash: ObjectHash) -> Self
Trait Implementations§
Source§impl Clone for DeviceRecoveryId
impl Clone for DeviceRecoveryId
Source§fn clone(&self) -> DeviceRecoveryId
fn clone(&self) -> DeviceRecoveryId
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 DeviceRecoveryId
impl Debug for DeviceRecoveryId
Source§impl<'de> Deserialize<'de> for DeviceRecoveryId
impl<'de> Deserialize<'de> for DeviceRecoveryId
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 Display for DeviceRecoveryId
impl Display for DeviceRecoveryId
Source§impl Hash for DeviceRecoveryId
impl Hash for DeviceRecoveryId
Source§impl Ord for DeviceRecoveryId
impl Ord for DeviceRecoveryId
Source§fn cmp(&self, other: &DeviceRecoveryId) -> Ordering
fn cmp(&self, other: &DeviceRecoveryId) -> 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 DeviceRecoveryId
impl PartialEq for DeviceRecoveryId
Source§impl PartialOrd for DeviceRecoveryId
impl PartialOrd for DeviceRecoveryId
Source§impl Serialize for DeviceRecoveryId
impl Serialize for DeviceRecoveryId
impl Copy for DeviceRecoveryId
impl Eq for DeviceRecoveryId
impl StructuralPartialEq for DeviceRecoveryId
Auto Trait Implementations§
impl Freeze for DeviceRecoveryId
impl RefUnwindSafe for DeviceRecoveryId
impl Send for DeviceRecoveryId
impl Sync for DeviceRecoveryId
impl Unpin for DeviceRecoveryId
impl UnsafeUnpin for DeviceRecoveryId
impl UnwindSafe for DeviceRecoveryId
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.