pub struct McpServerInit {
pub name: String,
pub status: Option<String>,
}Expand description
One MCP server the CLI loaded.
Fields§
§name: String§status: Option<String>Trait Implementations§
Source§impl Clone for McpServerInit
impl Clone for McpServerInit
Source§fn clone(&self) -> McpServerInit
fn clone(&self) -> McpServerInit
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 McpServerInit
impl Debug for McpServerInit
Source§impl<'de> Deserialize<'de> for McpServerInit
impl<'de> Deserialize<'de> for McpServerInit
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 McpServerInit
impl RefUnwindSafe for McpServerInit
impl Send for McpServerInit
impl Sync for McpServerInit
impl Unpin for McpServerInit
impl UnsafeUnpin for McpServerInit
impl UnwindSafe for McpServerInit
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