pub struct McpServerSummary {
pub name: CompactString,
pub tools: Vec<CompactString>,
}Expand description
Summary of a connected MCP server.
Fields§
§name: CompactStringServer name.
tools: Vec<CompactString>Tool names provided by this server.
Trait Implementations§
Source§impl Clone for McpServerSummary
impl Clone for McpServerSummary
Source§fn clone(&self) -> McpServerSummary
fn clone(&self) -> McpServerSummary
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 McpServerSummary
impl Debug for McpServerSummary
Source§impl<'de> Deserialize<'de> for McpServerSummary
impl<'de> Deserialize<'de> for McpServerSummary
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 McpServerSummary
impl RefUnwindSafe for McpServerSummary
impl Send for McpServerSummary
impl Sync for McpServerSummary
impl Unpin for McpServerSummary
impl UnsafeUnpin for McpServerSummary
impl UnwindSafe for McpServerSummary
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