pub struct SessionRejectedPayload {
pub code: ErrorCode,
pub message: String,
}Expand description
Payload for session.rejected (terminal handshake failure).
Fields§
§code: ErrorCodeReason code.
message: StringHuman-readable detail.
Trait Implementations§
Source§impl Clone for SessionRejectedPayload
impl Clone for SessionRejectedPayload
Source§fn clone(&self) -> SessionRejectedPayload
fn clone(&self) -> SessionRejectedPayload
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 SessionRejectedPayload
impl Debug for SessionRejectedPayload
Source§impl<'de> Deserialize<'de> for SessionRejectedPayload
impl<'de> Deserialize<'de> for SessionRejectedPayload
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 PartialEq for SessionRejectedPayload
impl PartialEq for SessionRejectedPayload
Source§fn eq(&self, other: &SessionRejectedPayload) -> bool
fn eq(&self, other: &SessionRejectedPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionRejectedPayload
impl Serialize for SessionRejectedPayload
impl Eq for SessionRejectedPayload
impl StructuralPartialEq for SessionRejectedPayload
Auto Trait Implementations§
impl Freeze for SessionRejectedPayload
impl RefUnwindSafe for SessionRejectedPayload
impl Send for SessionRejectedPayload
impl Sync for SessionRejectedPayload
impl Unpin for SessionRejectedPayload
impl UnsafeUnpin for SessionRejectedPayload
impl UnwindSafe for SessionRejectedPayload
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