pub struct InvitePayload {
pub v: u32,
pub did: String,
pub card: Value,
pub relay_url: String,
pub slot_id: String,
pub slot_token: String,
pub nonce: String,
pub exp: u64,
}Expand description
Decoded contents of an invite URL.
Fields§
§v: u32Schema version. Currently 1.
did: StringIssuer DID, e.g. did:wire:paul.
card: ValueIssuer’s signed agent-card (full JSON).
relay_url: StringRelay URL hosting the issuer’s slot.
slot_id: StringIssuer’s slot id (32 hex chars).
slot_token: StringIssuer’s slot token (bearer auth for POSTing events to that slot).
nonce: StringSingle-use nonce (32 random bytes hex).
exp: u64Unix timestamp after which this invite is invalid.
Trait Implementations§
Source§impl Clone for InvitePayload
impl Clone for InvitePayload
Source§fn clone(&self) -> InvitePayload
fn clone(&self) -> InvitePayload
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 InvitePayload
impl Debug for InvitePayload
Source§impl<'de> Deserialize<'de> for InvitePayload
impl<'de> Deserialize<'de> for InvitePayload
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 InvitePayload
impl RefUnwindSafe for InvitePayload
impl Send for InvitePayload
impl Sync for InvitePayload
impl Unpin for InvitePayload
impl UnsafeUnpin for InvitePayload
impl UnwindSafe for InvitePayload
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