pub struct DeviceJoinAbandonmentRef {
pub attempt_id: DeviceJoinAttemptId,
pub abandonment_hash: ObjectHash,
pub object: ExactObjectRef,
}Fields§
§attempt_id: DeviceJoinAttemptId§abandonment_hash: ObjectHash§object: ExactObjectRefImplementations§
Source§impl DeviceJoinAbandonmentRef
impl DeviceJoinAbandonmentRef
pub fn verify( &self, abandonment: &DeviceJoinAbandonmentObject, owner: &StoreDeviceRegistration, ) -> Result<(), DeviceJoinExchangeError>
Trait Implementations§
Source§impl Clone for DeviceJoinAbandonmentRef
impl Clone for DeviceJoinAbandonmentRef
Source§fn clone(&self) -> DeviceJoinAbandonmentRef
fn clone(&self) -> DeviceJoinAbandonmentRef
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 DeviceJoinAbandonmentRef
impl Debug for DeviceJoinAbandonmentRef
Source§impl<'de> Deserialize<'de> for DeviceJoinAbandonmentRef
impl<'de> Deserialize<'de> for DeviceJoinAbandonmentRef
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 DeviceJoinAbandonmentRef
impl Ord for DeviceJoinAbandonmentRef
Source§fn cmp(&self, other: &DeviceJoinAbandonmentRef) -> Ordering
fn cmp(&self, other: &DeviceJoinAbandonmentRef) -> 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 DeviceJoinAbandonmentRef
impl PartialEq for DeviceJoinAbandonmentRef
Source§impl PartialOrd for DeviceJoinAbandonmentRef
impl PartialOrd for DeviceJoinAbandonmentRef
Source§impl Serialize for DeviceJoinAbandonmentRef
impl Serialize for DeviceJoinAbandonmentRef
impl Eq for DeviceJoinAbandonmentRef
impl StructuralPartialEq for DeviceJoinAbandonmentRef
Auto Trait Implementations§
impl Freeze for DeviceJoinAbandonmentRef
impl RefUnwindSafe for DeviceJoinAbandonmentRef
impl Send for DeviceJoinAbandonmentRef
impl Sync for DeviceJoinAbandonmentRef
impl Unpin for DeviceJoinAbandonmentRef
impl UnsafeUnpin for DeviceJoinAbandonmentRef
impl UnwindSafe for DeviceJoinAbandonmentRef
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.