pub struct McpConfigCollection { /* private fields */ }Implementations§
Source§impl McpConfigCollection
impl McpConfigCollection
pub fn servers(&self) -> &BTreeMap<String, ScopedMcpServerConfig>
pub fn get(&self, name: &str) -> Option<&ScopedMcpServerConfig>
Trait Implementations§
Source§impl Clone for McpConfigCollection
impl Clone for McpConfigCollection
Source§fn clone(&self) -> McpConfigCollection
fn clone(&self) -> McpConfigCollection
Returns a duplicate of the value. Read more
1.0.0 · 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 McpConfigCollection
impl Debug for McpConfigCollection
Source§impl Default for McpConfigCollection
impl Default for McpConfigCollection
Source§fn default() -> McpConfigCollection
fn default() -> McpConfigCollection
Returns the “default value” for a type. Read more
Source§impl PartialEq for McpConfigCollection
impl PartialEq for McpConfigCollection
impl Eq for McpConfigCollection
impl StructuralPartialEq for McpConfigCollection
Auto Trait Implementations§
impl Freeze for McpConfigCollection
impl RefUnwindSafe for McpConfigCollection
impl Send for McpConfigCollection
impl Sync for McpConfigCollection
impl Unpin for McpConfigCollection
impl UnsafeUnpin for McpConfigCollection
impl UnwindSafe for McpConfigCollection
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