pub struct ExtensionNegotiationRejection {
pub code: ExtensionNegotiationRejectionCode,
pub detail: String,
}Fields§
§code: ExtensionNegotiationRejectionCode§detail: StringTrait Implementations§
Source§impl Clone for ExtensionNegotiationRejection
impl Clone for ExtensionNegotiationRejection
Source§fn clone(&self) -> ExtensionNegotiationRejection
fn clone(&self) -> ExtensionNegotiationRejection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ExtensionNegotiationRejection
impl<'de> Deserialize<'de> for ExtensionNegotiationRejection
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 ExtensionNegotiationRejection
impl PartialEq for ExtensionNegotiationRejection
Source§fn eq(&self, other: &ExtensionNegotiationRejection) -> bool
fn eq(&self, other: &ExtensionNegotiationRejection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExtensionNegotiationRejection
impl StructuralPartialEq for ExtensionNegotiationRejection
Auto Trait Implementations§
impl Freeze for ExtensionNegotiationRejection
impl RefUnwindSafe for ExtensionNegotiationRejection
impl Send for ExtensionNegotiationRejection
impl Sync for ExtensionNegotiationRejection
impl Unpin for ExtensionNegotiationRejection
impl UnsafeUnpin for ExtensionNegotiationRejection
impl UnwindSafe for ExtensionNegotiationRejection
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