pub struct EffectVerdict {
pub effective_confidence: EffectConfidence,
pub claimed_confidence: Option<EffectConfidence>,
pub trusted_witnesses: usize,
pub notes: Vec<String>,
pub effective_finality: Option<EffectFinality>,
pub claimed_finality: Option<EffectFinality>,
}Expand description
The reconciled operational-confidence outcome for a v2 receipt’s effect, kept deliberately separate from cryptographic validity (the DSSE signature, checked elsewhere). A perfectly-signed receipt can still carry an effect nobody independently confirmed; this verdict reports how much of the effect the evidence actually supports, never how well it was signed.
Fields§
§effective_confidence: EffectConfidenceThe confidence the evidence supports after reconciliation. Equal to the
actor’s claim for every honest (non-Verified) claim; a Verified
claim carrying no independent evidence is downgraded to NotVerified.
Never higher than the actor claimed, and never higher than the evidence
supports.
claimed_confidence: Option<EffectConfidence>The actor’s own claim, echoed for audit. None when the actor recorded
no effect_confidence.
trusted_witnesses: usizeCount of bundled witnesses the WitnessAuthority vouched for.
notes: Vec<String>Audit notes: downgrades applied, and witnesses that were not trusted.
effective_finality: Option<EffectFinality>The lifecycle stage the evidence supports. Equal to the actor’s claim
except that an unbacked Finalized is downgraded to Indeterminate:
“the target told me it committed” is the actor’s word, and the actor’s
word is what this verifier exists to not take. None when the receipt
declared no finality at all.
claimed_finality: Option<EffectFinality>The actor’s own finality claim, echoed for audit.
Implementations§
Source§impl EffectVerdict
impl EffectVerdict
Sourcepub fn is_verified(&self) -> bool
pub fn is_verified(&self) -> bool
True when the effect is independently confirmed at the strongest level.
Trait Implementations§
Source§impl Clone for EffectVerdict
impl Clone for EffectVerdict
Source§fn clone(&self) -> EffectVerdict
fn clone(&self) -> EffectVerdict
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 EffectVerdict
impl Debug for EffectVerdict
impl Eq for EffectVerdict
Source§impl PartialEq for EffectVerdict
impl PartialEq for EffectVerdict
impl StructuralPartialEq for EffectVerdict
Auto Trait Implementations§
impl Freeze for EffectVerdict
impl RefUnwindSafe for EffectVerdict
impl Send for EffectVerdict
impl Sync for EffectVerdict
impl Unpin for EffectVerdict
impl UnsafeUnpin for EffectVerdict
impl UnwindSafe for EffectVerdict
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.