pub struct McpServerEntry {
pub server_uri: String,
pub name: String,
pub trusted: bool,
pub registered_tools: HashSet<String>,
pub last_verified: Option<Instant>,
}Expand description
Tracked state for a single MCP server.
Fields§
§server_uri: String§name: String§trusted: bool§registered_tools: HashSet<String>§last_verified: Option<Instant>Trait Implementations§
Source§impl Clone for McpServerEntry
impl Clone for McpServerEntry
Source§fn clone(&self) -> McpServerEntry
fn clone(&self) -> McpServerEntry
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 moreAuto Trait Implementations§
impl Freeze for McpServerEntry
impl RefUnwindSafe for McpServerEntry
impl Send for McpServerEntry
impl Sync for McpServerEntry
impl Unpin for McpServerEntry
impl UnsafeUnpin for McpServerEntry
impl UnwindSafe for McpServerEntry
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