pub struct ToolsCapability {
pub list_changed: bool,
}Expand description
Tools capability configuration.
Indicates support for tool invocation and whether the server will notify clients when the tool list changes.
§Fields
list_changed- Whether the server sends notifications when tools change
Fields§
§list_changed: boolIf true, server sends “tools/list_changed” notifications
Trait Implementations§
Source§impl Clone for ToolsCapability
impl Clone for ToolsCapability
Source§fn clone(&self) -> ToolsCapability
fn clone(&self) -> ToolsCapability
Returns a duplicate 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 ToolsCapability
impl Debug for ToolsCapability
Source§impl<'de> Deserialize<'de> for ToolsCapability
impl<'de> Deserialize<'de> for ToolsCapability
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
Auto Trait Implementations§
impl Freeze for ToolsCapability
impl RefUnwindSafe for ToolsCapability
impl Send for ToolsCapability
impl Sync for ToolsCapability
impl Unpin for ToolsCapability
impl UnsafeUnpin for ToolsCapability
impl UnwindSafe for ToolsCapability
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