pub struct InviteResponse {
pub invitee_identity: String,
pub invitee_session_pubkey: String,
pub owner_public_key: Option<String>,
}Expand description
What Invite::receive recovers from an accepted invite.
Fields§
§invitee_identity: StringThe invitee’s identity public key (also their device id).
invitee_session_pubkey: StringThe invitee’s session public key (the ratchet’s first DH key).
owner_public_key: Option<String>The invitee’s owner/Nostr identity pubkey, when supplied.
Trait Implementations§
Source§impl Clone for InviteResponse
impl Clone for InviteResponse
Source§fn clone(&self) -> InviteResponse
fn clone(&self) -> InviteResponse
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 InviteResponse
impl Debug for InviteResponse
impl Eq for InviteResponse
Source§impl PartialEq for InviteResponse
impl PartialEq for InviteResponse
impl StructuralPartialEq for InviteResponse
Auto Trait Implementations§
impl Freeze for InviteResponse
impl RefUnwindSafe for InviteResponse
impl Send for InviteResponse
impl Sync for InviteResponse
impl Unpin for InviteResponse
impl UnsafeUnpin for InviteResponse
impl UnwindSafe for InviteResponse
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