pub struct PluginMcpServer {
pub name: String,
pub transport: PluginMcpTransport,
}Expand description
One valid server declaration from mcp.json.
Fields§
§name: String§transport: PluginMcpTransportTrait Implementations§
Source§impl Clone for PluginMcpServer
impl Clone for PluginMcpServer
Source§fn clone(&self) -> PluginMcpServer
fn clone(&self) -> PluginMcpServer
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 PluginMcpServer
impl Debug for PluginMcpServer
impl Eq for PluginMcpServer
Source§impl PartialEq for PluginMcpServer
impl PartialEq for PluginMcpServer
impl StructuralPartialEq for PluginMcpServer
Auto Trait Implementations§
impl Freeze for PluginMcpServer
impl RefUnwindSafe for PluginMcpServer
impl Send for PluginMcpServer
impl Sync for PluginMcpServer
impl Unpin for PluginMcpServer
impl UnsafeUnpin for PluginMcpServer
impl UnwindSafe for PluginMcpServer
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