pub struct McpSourcePlugin {
pub id: String,
pub name: Option<String>,
pub version: Option<String>,
}Expand description
Plugin identity associated with an MCP server declaration.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§id: StringCanonical plugin identity
name: Option<String>Human-readable plugin name, when available
version: Option<String>Plugin version, when available
Trait Implementations§
Source§impl Clone for McpSourcePlugin
impl Clone for McpSourcePlugin
Source§fn clone(&self) -> McpSourcePlugin
fn clone(&self) -> McpSourcePlugin
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 McpSourcePlugin
impl Debug for McpSourcePlugin
Source§impl Default for McpSourcePlugin
impl Default for McpSourcePlugin
Source§fn default() -> McpSourcePlugin
fn default() -> McpSourcePlugin
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpSourcePlugin
impl<'de> Deserialize<'de> for McpSourcePlugin
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
Auto Trait Implementations§
impl Freeze for McpSourcePlugin
impl RefUnwindSafe for McpSourcePlugin
impl Send for McpSourcePlugin
impl Sync for McpSourcePlugin
impl Unpin for McpSourcePlugin
impl UnsafeUnpin for McpSourcePlugin
impl UnwindSafe for McpSourcePlugin
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