pub struct McpRemoved {
pub name: CompactString,
pub tools: Vec<CompactString>,
}Expand description
MCP server removed confirmation.
Fields§
§name: CompactStringServer name.
tools: Vec<CompactString>Tools that were removed.
Trait Implementations§
Source§impl Clone for McpRemoved
impl Clone for McpRemoved
Source§fn clone(&self) -> McpRemoved
fn clone(&self) -> McpRemoved
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 McpRemoved
impl Debug for McpRemoved
Source§impl<'de> Deserialize<'de> for McpRemoved
impl<'de> Deserialize<'de> for McpRemoved
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 From<McpRemoved> for ServerMessage
impl From<McpRemoved> for ServerMessage
Source§fn from(r: McpRemoved) -> Self
fn from(r: McpRemoved) -> Self
Converts to this type from the input type.
Source§impl Serialize for McpRemoved
impl Serialize for McpRemoved
Source§impl TryFrom<ServerMessage> for McpRemoved
impl TryFrom<ServerMessage> for McpRemoved
Auto Trait Implementations§
impl Freeze for McpRemoved
impl RefUnwindSafe for McpRemoved
impl Send for McpRemoved
impl Sync for McpRemoved
impl Unpin for McpRemoved
impl UnsafeUnpin for McpRemoved
impl UnwindSafe for McpRemoved
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