pub struct McpPlanResourceIdentity {
pub canonical_name: String,
pub registry_id: Option<String>,
pub server_name: String,
pub version: Option<String>,
}Expand description
Normalised identity of the MCP server a plan targets, independent of how the card spelled it.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§canonical_name: StringCanonical, normalised name of the server, for example io.github.owner/server.
registry_id: Option<String>Registry identifier of the server, when it came from a registry.
server_name: StringLocal configuration key the server would be recorded under.
version: Option<String>Version advertised by the card, when it declares one.
Trait Implementations§
Source§impl Clone for McpPlanResourceIdentity
impl Clone for McpPlanResourceIdentity
Source§fn clone(&self) -> McpPlanResourceIdentity
fn clone(&self) -> McpPlanResourceIdentity
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 McpPlanResourceIdentity
impl Debug for McpPlanResourceIdentity
Source§impl Default for McpPlanResourceIdentity
impl Default for McpPlanResourceIdentity
Source§fn default() -> McpPlanResourceIdentity
fn default() -> McpPlanResourceIdentity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpPlanResourceIdentity
impl<'de> Deserialize<'de> for McpPlanResourceIdentity
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 McpPlanResourceIdentity
impl RefUnwindSafe for McpPlanResourceIdentity
impl Send for McpPlanResourceIdentity
impl Sync for McpPlanResourceIdentity
impl Unpin for McpPlanResourceIdentity
impl UnsafeUnpin for McpPlanResourceIdentity
impl UnwindSafe for McpPlanResourceIdentity
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