#[non_exhaustive]pub enum ManagedMcpServers {
ByName(BTreeMap<String, Extra>),
List(Vec<Extra>),
}Expand description
managedMcpServers: MCP server configurations, by name or as a list.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ByName(BTreeMap<String, Extra>)
Server name → its .mcp.json configuration.
List(Vec<Extra>)
A list of configurations.
Trait Implementations§
Source§impl Clone for ManagedMcpServers
impl Clone for ManagedMcpServers
Source§impl Debug for ManagedMcpServers
impl Debug for ManagedMcpServers
Source§impl<'de> Deserialize<'de> for ManagedMcpServers
impl<'de> Deserialize<'de> for ManagedMcpServers
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
Source§impl PartialEq for ManagedMcpServers
impl PartialEq for ManagedMcpServers
Source§impl Serialize for ManagedMcpServers
impl Serialize for ManagedMcpServers
impl StructuralPartialEq for ManagedMcpServers
Auto Trait Implementations§
impl Forget for ManagedMcpServers
impl Freeze for ManagedMcpServers
impl Move for ManagedMcpServers
impl RefUnwindSafe for ManagedMcpServers
impl Send for ManagedMcpServers
impl Sync for ManagedMcpServers
impl Unpin for ManagedMcpServers
impl UnsafeUnpin for ManagedMcpServers
impl UnwindSafe for ManagedMcpServers
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