pub struct EvidenceInput {
pub kind: EvidenceKind,
pub evidence_blake3: String,
pub runtime_mode: RuntimeMode,
pub authority_class: AuthorityClass,
pub proof_state: ClaimProofState,
pub requested_ceiling: ClaimCeiling,
pub source_refs: Vec<SourceRef>,
pub advisory_only: bool,
}Expand description
Producer-supplied evidence input. Built by the CLI from the evidence file /
inline JSON and the producer’s declared evidence_blake3.
Every witness’s asserted_subject_blake3 MUST equal
EvidenceInput::evidence_blake3.
Fields§
§kind: EvidenceKindWhich surface (release-readiness or compliance-evidence) requested this reduction.
evidence_blake3: StringLowercase BLAKE3 hex of the exact producer-supplied evidence bytes.
runtime_mode: RuntimeModeRuntime mode the producer declares it ran under.
Authority class declared on the evidence input.
proof_state: ClaimProofStateProof closure state declared by the producer.
requested_ceiling: ClaimCeilingProducer-requested ceiling. The verifier still clamps to the weakest
supporting signal per cortex_core::effective_ceiling.
source_refs: Vec<SourceRef>Declared source refs (informational; not used to make a trust decision).
advisory_only: boolMarker that this evidence path is advisory-only by construction
(e.g. dev runtime mode, pre_v2_backup evidence kind). When set, the
verifier short-circuits to verifier.witness.tier_insufficient per
ADR 0041 acceptance criterion §132 — local/dev/pre-v2 stay advisory even
with witnesses present.
Implementations§
Source§impl EvidenceInput
impl EvidenceInput
Sourcepub const fn is_advisory_only(&self) -> bool
pub const fn is_advisory_only(&self) -> bool
True when the evidence path is advisory-only by construction.
Trait Implementations§
Source§impl Clone for EvidenceInput
impl Clone for EvidenceInput
Source§fn clone(&self) -> EvidenceInput
fn clone(&self) -> EvidenceInput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EvidenceInput
impl Debug for EvidenceInput
Source§impl<'de> Deserialize<'de> for EvidenceInput
impl<'de> Deserialize<'de> for EvidenceInput
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>,
Source§impl PartialEq for EvidenceInput
impl PartialEq for EvidenceInput
Source§fn eq(&self, other: &EvidenceInput) -> bool
fn eq(&self, other: &EvidenceInput) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for EvidenceInput
impl Serialize for EvidenceInput
impl Eq for EvidenceInput
impl StructuralPartialEq for EvidenceInput
Auto Trait Implementations§
impl Freeze for EvidenceInput
impl RefUnwindSafe for EvidenceInput
impl Send for EvidenceInput
impl Sync for EvidenceInput
impl Unpin for EvidenceInput
impl UnsafeUnpin for EvidenceInput
impl UnwindSafe for EvidenceInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.