pub struct Legacy2024ClientCapabilities {
pub experimental: Option<BTreeMap<String, Value>>,
pub sampling: Option<BTreeMap<String, Value>>,
pub roots: Option<Legacy2024RootsCapability>,
pub extensions: BTreeMap<String, Value>,
}Expand description
Typed shape of the 2024-11-05 client capabilities object.
Fields§
§experimental: Option<BTreeMap<String, Value>>Non-standard client capabilities retained by the exact schema.
sampling: Option<BTreeMap<String, Value>>Sampling support, represented by an open object in the pinned schema.
roots: Option<Legacy2024RootsCapability>Root-list support.
extensions: BTreeMap<String, Value>Additional non-standard capability members allowed by the 2024 schema.
Trait Implementations§
Source§impl Clone for Legacy2024ClientCapabilities
impl Clone for Legacy2024ClientCapabilities
Source§fn clone(&self) -> Legacy2024ClientCapabilities
fn clone(&self) -> Legacy2024ClientCapabilities
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 Legacy2024ClientCapabilities
impl Debug for Legacy2024ClientCapabilities
Source§impl Default for Legacy2024ClientCapabilities
impl Default for Legacy2024ClientCapabilities
Source§fn default() -> Legacy2024ClientCapabilities
fn default() -> Legacy2024ClientCapabilities
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Legacy2024ClientCapabilities
impl<'de> Deserialize<'de> for Legacy2024ClientCapabilities
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 StructuralPartialEq for Legacy2024ClientCapabilities
Auto Trait Implementations§
impl Freeze for Legacy2024ClientCapabilities
impl RefUnwindSafe for Legacy2024ClientCapabilities
impl Send for Legacy2024ClientCapabilities
impl Sync for Legacy2024ClientCapabilities
impl Unpin for Legacy2024ClientCapabilities
impl UnsafeUnpin for Legacy2024ClientCapabilities
impl UnwindSafe for Legacy2024ClientCapabilities
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).