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