pub struct ServerConnection {
pub id: String,
pub name: String,
pub is_connected: bool,
pub tools: Vec<ToolMetadata>,
}Expand description
MCP Server connection information
Fields§
§id: String§name: String§is_connected: bool§tools: Vec<ToolMetadata>Trait Implementations§
Source§impl Clone for ServerConnection
impl Clone for ServerConnection
Source§fn clone(&self) -> ServerConnection
fn clone(&self) -> ServerConnection
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 ServerConnection
impl RefUnwindSafe for ServerConnection
impl Send for ServerConnection
impl Sync for ServerConnection
impl Unpin for ServerConnection
impl UnwindSafe for ServerConnection
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