pub struct Legacy2024ServerCapabilities {
pub experimental: Option<BTreeMap<String, Value>>,
pub logging: Option<BTreeMap<String, Value>>,
pub prompts: Option<Legacy2024ListChangedCapability>,
pub resources: Option<Legacy2024ResourcesCapability>,
pub tools: Option<Legacy2024ListChangedCapability>,
pub extensions: BTreeMap<String, Value>,
}Expand description
Typed shape of the 2024-11-05 server capabilities object.
Fields§
§experimental: Option<BTreeMap<String, Value>>Non-standard server capabilities retained by the exact schema.
logging: Option<BTreeMap<String, Value>>Server logging capability, represented by an open object.
prompts: Option<Legacy2024ListChangedCapability>Prompt capability shape.
resources: Option<Legacy2024ResourcesCapability>Resource capability shape.
tools: Option<Legacy2024ListChangedCapability>Tool capability shape.
extensions: BTreeMap<String, Value>Additional non-standard capability members allowed by the 2024 schema.
Trait Implementations§
Source§impl Clone for Legacy2024ServerCapabilities
impl Clone for Legacy2024ServerCapabilities
Source§fn clone(&self) -> Legacy2024ServerCapabilities
fn clone(&self) -> Legacy2024ServerCapabilities
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 Legacy2024ServerCapabilities
impl Debug for Legacy2024ServerCapabilities
Source§impl Default for Legacy2024ServerCapabilities
impl Default for Legacy2024ServerCapabilities
Source§fn default() -> Legacy2024ServerCapabilities
fn default() -> Legacy2024ServerCapabilities
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Legacy2024ServerCapabilities
impl<'de> Deserialize<'de> for Legacy2024ServerCapabilities
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 Legacy2024ServerCapabilities
Auto Trait Implementations§
impl Freeze for Legacy2024ServerCapabilities
impl RefUnwindSafe for Legacy2024ServerCapabilities
impl Send for Legacy2024ServerCapabilities
impl Sync for Legacy2024ServerCapabilities
impl Unpin for Legacy2024ServerCapabilities
impl UnsafeUnpin for Legacy2024ServerCapabilities
impl UnwindSafe for Legacy2024ServerCapabilities
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).