pub struct McpServerInfo {
pub name: String,
pub title: String,
pub version: String,
pub instructions: String,
}Expand description
Advertised at initialize. Empty title / instructions are omitted.
Fields§
§name: String§title: String§version: String§instructions: StringTrait Implementations§
Source§impl Clone for McpServerInfo
impl Clone for McpServerInfo
Source§impl Debug for McpServerInfo
impl Debug for McpServerInfo
Source§impl Default for McpServerInfo
impl Default for McpServerInfo
Source§impl PartialEq for McpServerInfo
impl PartialEq for McpServerInfo
impl StructuralPartialEq for McpServerInfo
Auto Trait Implementations§
impl Freeze for McpServerInfo
impl RefUnwindSafe for McpServerInfo
impl Send for McpServerInfo
impl Sync for McpServerInfo
impl Unpin for McpServerInfo
impl UnsafeUnpin for McpServerInfo
impl UnwindSafe for McpServerInfo
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