pub struct McpServersLoadedServer {
pub error: Option<String>,
pub name: String,
pub source: Option<String>,
pub status: McpServersLoadedServerStatus,
}Fields§
§error: Option<String>Error message if the server failed to connect
name: StringServer name (config key)
source: Option<String>Configuration source: user, workspace, plugin, or builtin
status: McpServersLoadedServerStatusConnection status: connected, failed, needs-auth, pending, disabled, or not_configured
Trait Implementations§
Source§impl Clone for McpServersLoadedServer
impl Clone for McpServersLoadedServer
Source§fn clone(&self) -> McpServersLoadedServer
fn clone(&self) -> McpServersLoadedServer
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 McpServersLoadedServer
impl Debug for McpServersLoadedServer
Source§impl<'de> Deserialize<'de> for McpServersLoadedServer
impl<'de> Deserialize<'de> for McpServersLoadedServer
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 McpServersLoadedServer
impl RefUnwindSafe for McpServersLoadedServer
impl Send for McpServersLoadedServer
impl Sync for McpServersLoadedServer
impl Unpin for McpServersLoadedServer
impl UnsafeUnpin for McpServersLoadedServer
impl UnwindSafe for McpServersLoadedServer
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