pub struct MCPToolsCapability {
pub list_changed: Option<bool>,
}
Expand description
Tools capability configuration
Fields§
§list_changed: Option<bool>
Whether tools are supported
Trait Implementations§
Source§impl Clone for MCPToolsCapability
impl Clone for MCPToolsCapability
Source§fn clone(&self) -> MCPToolsCapability
fn clone(&self) -> MCPToolsCapability
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MCPToolsCapability
impl Debug for MCPToolsCapability
Source§impl<'de> Deserialize<'de> for MCPToolsCapability
impl<'de> Deserialize<'de> for MCPToolsCapability
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 MCPToolsCapability
impl RefUnwindSafe for MCPToolsCapability
impl Send for MCPToolsCapability
impl Sync for MCPToolsCapability
impl Unpin for MCPToolsCapability
impl UnwindSafe for MCPToolsCapability
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