pub struct ToolsCapability {
pub list_changed: bool,
}Expand description
Details of the tools capability advertised in the handshake.
Fields§
§list_changed: boolWhether the server emits tools/list_changed notifications.
This server’s tool list is fixed at compile time, so it
advertises false and a client need never re-fetch the list.
Trait Implementations§
Source§impl Debug for ToolsCapability
impl Debug for ToolsCapability
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