pub struct McpServerSnapshot {Show 14 fields
pub name: String,
pub enabled: bool,
pub required: bool,
pub transport: String,
pub command_or_url: String,
pub connect_timeout: u64,
pub execute_timeout: u64,
pub read_timeout: u64,
pub connected: bool,
pub error: Option<String>,
pub capability_metadata: String,
pub tools: Vec<McpDiscoveredItem>,
pub resources: Vec<McpDiscoveredItem>,
pub prompts: Vec<McpDiscoveredItem>,
}Expand description
One configured MCP server as seen by the engine-owned pool.
Fields§
§name: String§enabled: bool§required: bool§transport: String§command_or_url: String§connect_timeout: u64§execute_timeout: u64§read_timeout: u64§connected: bool§error: Option<String>§capability_metadata: Stringadvertised | legacy_fallback | not_observed.
tools: Vec<McpDiscoveredItem>§resources: Vec<McpDiscoveredItem>§prompts: Vec<McpDiscoveredItem>Trait Implementations§
Source§impl Clone for McpServerSnapshot
impl Clone for McpServerSnapshot
Source§fn clone(&self) -> McpServerSnapshot
fn clone(&self) -> McpServerSnapshot
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 Debug for McpServerSnapshot
impl Debug for McpServerSnapshot
Source§impl<'de> Deserialize<'de> for McpServerSnapshot
impl<'de> Deserialize<'de> for McpServerSnapshot
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
impl Eq for McpServerSnapshot
Source§impl PartialEq for McpServerSnapshot
impl PartialEq for McpServerSnapshot
Source§impl Serialize for McpServerSnapshot
impl Serialize for McpServerSnapshot
impl StructuralPartialEq for McpServerSnapshot
Auto Trait Implementations§
impl Freeze for McpServerSnapshot
impl RefUnwindSafe for McpServerSnapshot
impl Send for McpServerSnapshot
impl Sync for McpServerSnapshot
impl Unpin for McpServerSnapshot
impl UnsafeUnpin for McpServerSnapshot
impl UnwindSafe for McpServerSnapshot
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