pub struct InvocationEvidenceManifestV1 {
pub schema_version: u32,
pub invocation_ref: Sha256Digest,
pub engine_receipt: InvocationEngineReceiptBindingV1,
pub source_bindings: Vec<InvocationSourceBindingV1>,
pub policy_bindings: Vec<InvocationPolicyBindingV1>,
pub capability_bindings: Vec<InvocationCapabilityBindingV1>,
}Expand description
Strict, canonical evidence join for one Engine invocation.
Fields§
§schema_version: u32§invocation_ref: Sha256DigestCanonical digest of the Engine invocation record.
engine_receipt: InvocationEngineReceiptBindingV1§source_bindings: Vec<InvocationSourceBindingV1>Complete source lineage; exactly one binding has role input.
policy_bindings: Vec<InvocationPolicyBindingV1>One or more policy bindings; invocation_admission is always present.
capability_bindings: Vec<InvocationCapabilityBindingV1>Selected capability ID/version to canonical manifest digest bindings.
Implementations§
Source§impl InvocationEvidenceManifestV1
impl InvocationEvidenceManifestV1
Sourcepub const SCHEMA_VERSION: u32 = 1
pub const SCHEMA_VERSION: u32 = 1
Schema version represented by this type.
Sourcepub fn canonical_bytes(&self) -> Result<Vec<u8>, ValidationError>
pub fn canonical_bytes(&self) -> Result<Vec<u8>, ValidationError>
Return compact canonical JSON bytes for this manifest.
Sourcepub fn canonical_json(&self) -> Result<String, ValidationError>
pub fn canonical_json(&self) -> Result<String, ValidationError>
Return canonical JSON as UTF-8 text.
Sourcepub fn from_canonical_bytes(bytes: &[u8]) -> Result<Self, ValidationError>
pub fn from_canonical_bytes(bytes: &[u8]) -> Result<Self, ValidationError>
Decode exactly canonical JSON and validate every semantic binding.
Sourcepub fn from_bytes(bytes: &[u8]) -> Result<Self, ValidationError>
pub fn from_bytes(bytes: &[u8]) -> Result<Self, ValidationError>
Compatibility alias for callers naming the input from_bytes.
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate schema, bounds, uniqueness, and cross-binding invariants.
Trait Implementations§
Source§impl Clone for InvocationEvidenceManifestV1
impl Clone for InvocationEvidenceManifestV1
Source§fn clone(&self) -> InvocationEvidenceManifestV1
fn clone(&self) -> InvocationEvidenceManifestV1
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 InvocationEvidenceManifestV1
impl Debug for InvocationEvidenceManifestV1
Source§impl<'de> Deserialize<'de> for InvocationEvidenceManifestV1
impl<'de> Deserialize<'de> for InvocationEvidenceManifestV1
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
impl Eq for InvocationEvidenceManifestV1
impl StructuralPartialEq for InvocationEvidenceManifestV1
Auto Trait Implementations§
impl Freeze for InvocationEvidenceManifestV1
impl RefUnwindSafe for InvocationEvidenceManifestV1
impl Send for InvocationEvidenceManifestV1
impl Sync for InvocationEvidenceManifestV1
impl Unpin for InvocationEvidenceManifestV1
impl UnsafeUnpin for InvocationEvidenceManifestV1
impl UnwindSafe for InvocationEvidenceManifestV1
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