pub struct ToolSetSnapshot {
pub id: String,
pub mcp_servers: Vec<McpServerSnapshot>,
pub tool_names: Vec<String>,
}Expand description
A bundled set of MCP servers + standalone tool names. Materializes
to .mcp.json (Claude), .cursor/mcp.json (Cursor), Codex /
Gemini settings files.
Fields§
§id: String§mcp_servers: Vec<McpServerSnapshot>§tool_names: Vec<String>Trait Implementations§
Source§impl Clone for ToolSetSnapshot
impl Clone for ToolSetSnapshot
Source§fn clone(&self) -> ToolSetSnapshot
fn clone(&self) -> ToolSetSnapshot
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 ToolSetSnapshot
impl Debug for ToolSetSnapshot
Source§impl Default for ToolSetSnapshot
impl Default for ToolSetSnapshot
Source§fn default() -> ToolSetSnapshot
fn default() -> ToolSetSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolSetSnapshot
impl<'de> Deserialize<'de> for ToolSetSnapshot
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 ToolSetSnapshot
impl RefUnwindSafe for ToolSetSnapshot
impl Send for ToolSetSnapshot
impl Sync for ToolSetSnapshot
impl Unpin for ToolSetSnapshot
impl UnsafeUnpin for ToolSetSnapshot
impl UnwindSafe for ToolSetSnapshot
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