pub struct PendingInvite {
pub nonce: String,
pub exp: u64,
pub uses_remaining: u32,
pub accepted_by: Vec<String>,
pub created_at: String,
}Expand description
On-disk record for a minted invite, awaiting acceptance.
Fields§
§nonce: String§exp: u64§uses_remaining: u32§accepted_by: Vec<String>DIDs of peers who have already paired via this invite (for multi-use).
created_at: StringTrait Implementations§
Source§impl Clone for PendingInvite
impl Clone for PendingInvite
Source§fn clone(&self) -> PendingInvite
fn clone(&self) -> PendingInvite
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PendingInvite
impl Debug for PendingInvite
Source§impl<'de> Deserialize<'de> for PendingInvite
impl<'de> Deserialize<'de> for PendingInvite
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
Auto Trait Implementations§
impl Freeze for PendingInvite
impl RefUnwindSafe for PendingInvite
impl Send for PendingInvite
impl Sync for PendingInvite
impl Unpin for PendingInvite
impl UnsafeUnpin for PendingInvite
impl UnwindSafe for PendingInvite
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