pub struct SessionActiveClientToolsChangedAction {
pub tools: Vec<ToolDefinition>,
}Expand description
The active client’s tool list has changed.
Full-replacement semantics: the tools array replaces the active client’s
previous tools entirely. The server SHOULD reject if the dispatching client
is not the current active client.
Fields§
§tools: Vec<ToolDefinition>Updated client tools list (full replacement)
Trait Implementations§
Source§impl Clone for SessionActiveClientToolsChangedAction
impl Clone for SessionActiveClientToolsChangedAction
Source§fn clone(&self) -> SessionActiveClientToolsChangedAction
fn clone(&self) -> SessionActiveClientToolsChangedAction
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<'de> Deserialize<'de> for SessionActiveClientToolsChangedAction
impl<'de> Deserialize<'de> for SessionActiveClientToolsChangedAction
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
Source§impl PartialEq for SessionActiveClientToolsChangedAction
impl PartialEq for SessionActiveClientToolsChangedAction
Source§fn eq(&self, other: &SessionActiveClientToolsChangedAction) -> bool
fn eq(&self, other: &SessionActiveClientToolsChangedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionActiveClientToolsChangedAction
Auto Trait Implementations§
impl Freeze for SessionActiveClientToolsChangedAction
impl RefUnwindSafe for SessionActiveClientToolsChangedAction
impl Send for SessionActiveClientToolsChangedAction
impl Sync for SessionActiveClientToolsChangedAction
impl Unpin for SessionActiveClientToolsChangedAction
impl UnsafeUnpin for SessionActiveClientToolsChangedAction
impl UnwindSafe for SessionActiveClientToolsChangedAction
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