pub struct VerificationReport { /* private fields */ }Expand description
Outcome and audit trail for one verification stage.
Implementations§
Source§impl VerificationReport
impl VerificationReport
Sourcepub fn case(&self) -> &VerificationCase
pub fn case(&self) -> &VerificationCase
Returns the verified case.
Sourcepub fn stage(&self) -> VerificationStage
pub fn stage(&self) -> VerificationStage
Returns the evaluated evidence collection stage.
Sourcepub fn evaluations(&self) -> &[VerificationRuleEvaluation]
pub fn evaluations(&self) -> &[VerificationRuleEvaluation]
Returns rule evaluations in stable rule-ID order.
Sourcepub fn apply(
&self,
knowledge: &KnowledgeBase,
) -> Result<Option<KnowledgeWrite>, VerificationError>
pub fn apply( &self, knowledge: &KnowledgeBase, ) -> Result<Option<KnowledgeWrite>, VerificationError>
Applies this report’s authorized state transition with snapshot CAS.
The report is bound to the subject and ontology revisions used for its
evaluation. If rule-visible knowledge changed before the transition, the
complete state update is rejected as stale. Audit-only nonterminal reports
are validated too, because their callers may still commit adaptive or
session decisions. Replaying an already-applied terminal report is
idempotent; an opposite terminal result is rejected. A knowledge-only
case validates the same snapshot token but returns None without
transitioning its audit-anchor hypothesis.
Trait Implementations§
Source§impl Clone for VerificationReport
impl Clone for VerificationReport
Source§fn clone(&self) -> VerificationReport
fn clone(&self) -> VerificationReport
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 VerificationReport
impl Debug for VerificationReport
impl Eq for VerificationReport
Source§impl PartialEq for VerificationReport
impl PartialEq for VerificationReport
Source§impl Serialize for VerificationReport
impl Serialize for VerificationReport
impl StructuralPartialEq for VerificationReport
Auto Trait Implementations§
impl Freeze for VerificationReport
impl RefUnwindSafe for VerificationReport
impl Send for VerificationReport
impl Sync for VerificationReport
impl Unpin for VerificationReport
impl UnsafeUnpin for VerificationReport
impl UnwindSafe for VerificationReport
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.