#[non_exhaustive]pub struct ServerEntry {
pub name: String,
pub server: McpServer,
}Expand description
One named server from mcpServers.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe mcpServers member name identifying this server.
server: McpServerIts validated configuration.
Trait Implementations§
Source§impl Clone for ServerEntry
impl Clone for ServerEntry
Source§impl Debug for ServerEntry
impl Debug for ServerEntry
Source§impl PartialEq for ServerEntry
impl PartialEq for ServerEntry
impl StructuralPartialEq for ServerEntry
Auto Trait Implementations§
impl Freeze for ServerEntry
impl RefUnwindSafe for ServerEntry
impl Send for ServerEntry
impl Sync for ServerEntry
impl Unpin for ServerEntry
impl UnsafeUnpin for ServerEntry
impl UnwindSafe for ServerEntry
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