pub struct AuditReport {
pub chain_ok: bool,
pub head: String,
pub records: u64,
pub accepted: Vec<(String, u32, f64)>,
}Expand description
The result of a provider-free audit replay (PSP-9 system 14).
Audit replay does not re-run tools: it folds recorded records and verifies the event chain, head, and accepted trajectory. Verification replay (re-running deterministic verifiers) is a separate mode whose result is a new observation, never a substitute for the original.
Fields§
§chain_ok: bool§head: String§records: u64§accepted: Vec<(String, u32, f64)>The accepted trajectory folded from the chain.
Trait Implementations§
Source§impl Clone for AuditReport
impl Clone for AuditReport
Source§fn clone(&self) -> AuditReport
fn clone(&self) -> AuditReport
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 AuditReport
impl Debug for AuditReport
Source§impl<'de> Deserialize<'de> for AuditReport
impl<'de> Deserialize<'de> for AuditReport
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
Source§impl PartialEq for AuditReport
impl PartialEq for AuditReport
Source§fn eq(&self, other: &AuditReport) -> bool
fn eq(&self, other: &AuditReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuditReport
impl Serialize for AuditReport
impl StructuralPartialEq for AuditReport
Auto Trait Implementations§
impl Freeze for AuditReport
impl RefUnwindSafe for AuditReport
impl Send for AuditReport
impl Sync for AuditReport
impl Unpin for AuditReport
impl UnsafeUnpin for AuditReport
impl UnwindSafe for AuditReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.