pub struct McpServerCardUrl {
pub kind: McpServerCardUrlKind,
pub media_type: McpServerCardMediaType,
pub url: String,
}Expand description
An MCP server card to be retrieved from a URL through the runtime’s hardened fetch boundary.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§kind: McpServerCardUrlKindDiscriminator: the card is URL-backed, and carries no embedded data
media_type: McpServerCardMediaTypeMedia type the card is expected to conform to.
url: StringCard URL. Retrieved only through the runtime’s hardened boundary, with scheme, credential, address-range, redirect, timeout, and response-size controls applied. Never logged.
Trait Implementations§
Source§impl Clone for McpServerCardUrl
impl Clone for McpServerCardUrl
Source§fn clone(&self) -> McpServerCardUrl
fn clone(&self) -> McpServerCardUrl
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 McpServerCardUrl
impl Debug for McpServerCardUrl
Source§impl Default for McpServerCardUrl
impl Default for McpServerCardUrl
Source§fn default() -> McpServerCardUrl
fn default() -> McpServerCardUrl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpServerCardUrl
impl<'de> Deserialize<'de> for McpServerCardUrl
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 McpServerCardUrl
impl RefUnwindSafe for McpServerCardUrl
impl Send for McpServerCardUrl
impl Sync for McpServerCardUrl
impl Unpin for McpServerCardUrl
impl UnsafeUnpin for McpServerCardUrl
impl UnwindSafe for McpServerCardUrl
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