pub struct McpServerSnapshot {
pub name: String,
pub command: String,
pub args: Vec<String>,
pub env: BTreeMap<String, String>,
}Expand description
One MCP server entry — vendor-agnostic.
Fields§
§name: String§command: String§args: Vec<String>§env: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for McpServerSnapshot
impl Clone for McpServerSnapshot
Source§fn clone(&self) -> McpServerSnapshot
fn clone(&self) -> McpServerSnapshot
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 McpServerSnapshot
impl Debug for McpServerSnapshot
Source§impl<'de> Deserialize<'de> for McpServerSnapshot
impl<'de> Deserialize<'de> for McpServerSnapshot
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 McpServerSnapshot
impl RefUnwindSafe for McpServerSnapshot
impl Send for McpServerSnapshot
impl Sync for McpServerSnapshot
impl Unpin for McpServerSnapshot
impl UnsafeUnpin for McpServerSnapshot
impl UnwindSafe for McpServerSnapshot
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