pub enum McpServerCardReference {
Url(McpServerCardUrl),
Embedded(McpServerCardEmbedded),
}Expand description
A card supplied directly by the caller. Exactly one of a URL or embedded data, encoded structurally so neither both nor neither can be expressed.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Url(McpServerCardUrl)
Embedded(McpServerCardEmbedded)
Trait Implementations§
Source§impl Clone for McpServerCardReference
impl Clone for McpServerCardReference
Source§fn clone(&self) -> McpServerCardReference
fn clone(&self) -> McpServerCardReference
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 McpServerCardReference
impl Debug for McpServerCardReference
Source§impl<'de> Deserialize<'de> for McpServerCardReference
impl<'de> Deserialize<'de> for McpServerCardReference
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 McpServerCardReference
impl RefUnwindSafe for McpServerCardReference
impl Send for McpServerCardReference
impl Sync for McpServerCardReference
impl Unpin for McpServerCardReference
impl UnsafeUnpin for McpServerCardReference
impl UnwindSafe for McpServerCardReference
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