pub struct McpServerEntry {
pub name: String,
pub definition: McpServerDefinition,
}Expand description
MCP server definition coupled with its name.
Fields§
§name: String§definition: McpServerDefinitionTrait Implementations§
Source§impl Clone for McpServerEntry
impl Clone for McpServerEntry
Source§fn clone(&self) -> McpServerEntry
fn clone(&self) -> McpServerEntry
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 McpServerEntry
impl Debug for McpServerEntry
Source§impl<'de> Deserialize<'de> for McpServerEntry
impl<'de> Deserialize<'de> for McpServerEntry
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 From<McpServerEntry> for McpRuntimeServer
impl From<McpServerEntry> for McpRuntimeServer
Source§fn from(entry: McpServerEntry) -> Self
fn from(entry: McpServerEntry) -> Self
Converts to this type from the input type.
Source§impl PartialEq for McpServerEntry
impl PartialEq for McpServerEntry
Source§fn eq(&self, other: &McpServerEntry) -> bool
fn eq(&self, other: &McpServerEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for McpServerEntry
impl Serialize for McpServerEntry
impl Eq for McpServerEntry
impl StructuralPartialEq for McpServerEntry
Auto Trait Implementations§
impl Freeze for McpServerEntry
impl RefUnwindSafe for McpServerEntry
impl Send for McpServerEntry
impl Sync for McpServerEntry
impl Unpin for McpServerEntry
impl UnsafeUnpin for McpServerEntry
impl UnwindSafe for McpServerEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.