pub struct McpServerInfo {
pub name: String,
pub status: McpConnectionStatus,
pub lifecycle: String,
pub tool_count: usize,
pub tools: Vec<McpToolInfo>,
}Expand description
Stable since 0.63.0
One server's information for the TUI dashboard (Phase 2).Fields§
§name: String§status: McpConnectionStatus§lifecycle: StringHuman-readable lifecycle string (“lazy”, “eager”, “keep-alive”, “none”).
tool_count: usizeNumber of tools (cached or live).
tools: Vec<McpToolInfo>Per-tool information (empty if server is not connected and has no cache).
Trait Implementations§
Source§impl Clone for McpServerInfo
impl Clone for McpServerInfo
Source§fn clone(&self) -> McpServerInfo
fn clone(&self) -> McpServerInfo
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 moreAuto Trait Implementations§
impl Freeze for McpServerInfo
impl RefUnwindSafe for McpServerInfo
impl Send for McpServerInfo
impl Sync for McpServerInfo
impl Unpin for McpServerInfo
impl UnsafeUnpin for McpServerInfo
impl UnwindSafe for McpServerInfo
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