pub struct ClientCapabilitiesEnvelope {
pub v1_0: ClientCapabilities,
}Expand description
The full client capabilities payload, keyed under a v1.0 protocol version.
Fields§
§v1_0: ClientCapabilitiesThe capabilities for protocol version 1.0.
Trait Implementations§
Source§impl Clone for ClientCapabilitiesEnvelope
impl Clone for ClientCapabilitiesEnvelope
Source§fn clone(&self) -> ClientCapabilitiesEnvelope
fn clone(&self) -> ClientCapabilitiesEnvelope
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 ClientCapabilitiesEnvelope
impl Debug for ClientCapabilitiesEnvelope
Source§impl Default for ClientCapabilitiesEnvelope
impl Default for ClientCapabilitiesEnvelope
Source§fn default() -> ClientCapabilitiesEnvelope
fn default() -> ClientCapabilitiesEnvelope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientCapabilitiesEnvelope
impl<'de> Deserialize<'de> for ClientCapabilitiesEnvelope
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 ClientCapabilitiesEnvelope
impl PartialEq for ClientCapabilitiesEnvelope
Source§fn eq(&self, other: &ClientCapabilitiesEnvelope) -> bool
fn eq(&self, other: &ClientCapabilitiesEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientCapabilitiesEnvelope
Auto Trait Implementations§
impl Freeze for ClientCapabilitiesEnvelope
impl RefUnwindSafe for ClientCapabilitiesEnvelope
impl Send for ClientCapabilitiesEnvelope
impl Sync for ClientCapabilitiesEnvelope
impl Unpin for ClientCapabilitiesEnvelope
impl UnsafeUnpin for ClientCapabilitiesEnvelope
impl UnwindSafe for ClientCapabilitiesEnvelope
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