pub struct McpPlanProvenance {
pub authority: String,
pub card_digest: CardDigest,
pub media_type: McpServerCardMediaType,
pub validated_at: String,
}Expand description
Provenance of the exact validated JSON MCP card content bound privately to a completed plan and its opaque handle.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
Authority associated with the validated card, without path, query, or credentials. Inert untrusted data.
card_digest: CardDigestSemantic digest of the exact validated JSON content bound to the plan handle.
media_type: McpServerCardMediaTypeJSON MCP media type the validated card was interpreted as.
validated_at: StringISO 8601 timestamp at which the runtime completed strict parsing and schema validation of the card content.
Trait Implementations§
Source§impl Clone for McpPlanProvenance
impl Clone for McpPlanProvenance
Source§fn clone(&self) -> McpPlanProvenance
fn clone(&self) -> McpPlanProvenance
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 McpPlanProvenance
impl Debug for McpPlanProvenance
Source§impl Default for McpPlanProvenance
impl Default for McpPlanProvenance
Source§fn default() -> McpPlanProvenance
fn default() -> McpPlanProvenance
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpPlanProvenance
impl<'de> Deserialize<'de> for McpPlanProvenance
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 McpPlanProvenance
impl RefUnwindSafe for McpPlanProvenance
impl Send for McpPlanProvenance
impl Sync for McpPlanProvenance
impl Unpin for McpPlanProvenance
impl UnsafeUnpin for McpPlanProvenance
impl UnwindSafe for McpPlanProvenance
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