pub struct LeaveRequest {
pub conversation_id: ConversationId,
pub participant_id: ParticipantId,
pub capability_generation: Generation,
pub attach_secret: AttachSecret,
pub leave_attempt_token: LeaveAttemptToken,
}Expand description
Terminal participant Leave body (0x0005).
Fields§
§conversation_id: ConversationIdConversation containing the participant.
participant_id: ParticipantIdPermanent participant identity.
capability_generation: GenerationPresented nonzero credential generation.
attach_secret: AttachSecretPresented attach secret; it is never echoed in a response envelope.
leave_attempt_token: LeaveAttemptTokenDurable single-purpose Leave token.
Trait Implementations§
Source§impl Clone for LeaveRequest
impl Clone for LeaveRequest
Source§fn clone(&self) -> LeaveRequest
fn clone(&self) -> LeaveRequest
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 LeaveRequest
impl Debug for LeaveRequest
impl Eq for LeaveRequest
Source§impl PartialEq for LeaveRequest
impl PartialEq for LeaveRequest
impl StructuralPartialEq for LeaveRequest
Auto Trait Implementations§
impl Freeze for LeaveRequest
impl RefUnwindSafe for LeaveRequest
impl Send for LeaveRequest
impl Sync for LeaveRequest
impl Unpin for LeaveRequest
impl UnsafeUnpin for LeaveRequest
impl UnwindSafe for LeaveRequest
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