pub struct ExternalReceiptVerification {
pub path: PathBuf,
pub receipts_path: PathBuf,
pub db_count: u64,
pub receipts_verified: usize,
pub latest_receipt: ExternalReceipt,
pub status: &'static str,
pub trust_root_status: &'static str,
pub trust_root_signed_at: Option<DateTime<Utc>>,
}Expand description
Successful external-receipt verification summary.
Fields§
§path: PathBufLedger path that was verified against.
receipts_path: PathBufReceipt history path that was verified.
db_count: u64Number of rows observed in the current ledger after scanning the last receipt position.
receipts_verified: usizeNumber of receipts parsed and parser-verified.
latest_receipt: ExternalReceiptThe latest receipt that was verified — has the largest
anchor_event_count.
status: &'static strStable status string. See PARSED_ONLY_VERIFICATION_STATUS.
trust_root_status: &'static strProvenance token for the trusted root that was in force during
verification. Either EMBEDDED_ROOT_STATUS when no operator
cache was supplied or could be loaded, or CACHED_ROOT_STATUS
when a refreshed cache was active.
trust_root_signed_at: Option<DateTime<Utc>>Activation timestamp of the trusted root that was in force.
Trait Implementations§
Source§impl Clone for ExternalReceiptVerification
impl Clone for ExternalReceiptVerification
Source§fn clone(&self) -> ExternalReceiptVerification
fn clone(&self) -> ExternalReceiptVerification
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 ExternalReceiptVerification
impl Debug for ExternalReceiptVerification
Source§impl PartialEq for ExternalReceiptVerification
impl PartialEq for ExternalReceiptVerification
Source§fn eq(&self, other: &ExternalReceiptVerification) -> bool
fn eq(&self, other: &ExternalReceiptVerification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExternalReceiptVerification
impl StructuralPartialEq for ExternalReceiptVerification
Auto Trait Implementations§
impl Freeze for ExternalReceiptVerification
impl RefUnwindSafe for ExternalReceiptVerification
impl Send for ExternalReceiptVerification
impl Sync for ExternalReceiptVerification
impl Unpin for ExternalReceiptVerification
impl UnsafeUnpin for ExternalReceiptVerification
impl UnwindSafe for ExternalReceiptVerification
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