pub struct ServerCapabilitiesTools {
pub list_changed: Option<bool>,
}
Expand description
Present if the server offers any tools to call.
JSON schema
{
"description": "Present if the server offers any tools to call.",
"type": "object",
"properties": {
"listChanged": {
"description": "Whether this server supports notifications for changes to the tool list.",
"type": "boolean"
}
}
}
Fields§
§list_changed: Option<bool>
Whether this server supports notifications for changes to the tool list.
Trait Implementations§
Source§impl Clone for ServerCapabilitiesTools
impl Clone for ServerCapabilitiesTools
Source§fn clone(&self) -> ServerCapabilitiesTools
fn clone(&self) -> ServerCapabilitiesTools
Returns a copy 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 Debug for ServerCapabilitiesTools
impl Debug for ServerCapabilitiesTools
Source§impl Default for ServerCapabilitiesTools
impl Default for ServerCapabilitiesTools
Source§fn default() -> ServerCapabilitiesTools
fn default() -> ServerCapabilitiesTools
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerCapabilitiesTools
impl<'de> Deserialize<'de> for ServerCapabilitiesTools
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServerCapabilitiesTools, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServerCapabilitiesTools, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ServerCapabilitiesTools
impl Serialize for ServerCapabilitiesTools
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ServerCapabilitiesTools
impl RefUnwindSafe for ServerCapabilitiesTools
impl Send for ServerCapabilitiesTools
impl Sync for ServerCapabilitiesTools
impl Unpin for ServerCapabilitiesTools
impl UnwindSafe for ServerCapabilitiesTools
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