pub struct McpServerCapability {
pub name: String,
pub transport: String,
pub tools: Vec<String>,
}Expand description
MCP server connection capability
Fields§
§name: StringServer name/identifier
transport: StringServer transport type (stdio, http, sse)
tools: Vec<String>Tools this server provides
Trait Implementations§
Source§impl Clone for McpServerCapability
impl Clone for McpServerCapability
Source§fn clone(&self) -> McpServerCapability
fn clone(&self) -> McpServerCapability
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 McpServerCapability
impl Debug for McpServerCapability
Source§impl<'de> Deserialize<'de> for McpServerCapability
impl<'de> Deserialize<'de> for McpServerCapability
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 McpServerCapability
impl RefUnwindSafe for McpServerCapability
impl Send for McpServerCapability
impl Sync for McpServerCapability
impl Unpin for McpServerCapability
impl UnwindSafe for McpServerCapability
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