pub struct PrecheckReport {
pub tick_id: u64,
pub precheck_t: PrecheckReason,
pub update_count_before: u64,
pub update_count_after: u64,
pub matrix_hash_before: u64,
pub matrix_hash_after: u64,
pub update_attempted: bool,
pub fail_closed: bool,
pub certificate_event_class: CertificateEventClass,
}Expand description
Value-bearing report for one precheck decision.
Fields§
§tick_id: u64§precheck_t: PrecheckReason§update_count_before: u64§update_count_after: u64§matrix_hash_before: u64§matrix_hash_after: u64§update_attempted: bool§fail_closed: bool§certificate_event_class: CertificateEventClassTrait Implementations§
Source§impl Clone for PrecheckReport
impl Clone for PrecheckReport
Source§fn clone(&self) -> PrecheckReport
fn clone(&self) -> PrecheckReport
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 moreimpl Copy for PrecheckReport
Source§impl Debug for PrecheckReport
impl Debug for PrecheckReport
Source§impl PartialEq for PrecheckReport
impl PartialEq for PrecheckReport
Source§fn eq(&self, other: &PrecheckReport) -> bool
fn eq(&self, other: &PrecheckReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrecheckReport
Auto Trait Implementations§
impl Freeze for PrecheckReport
impl RefUnwindSafe for PrecheckReport
impl Send for PrecheckReport
impl Sync for PrecheckReport
impl Unpin for PrecheckReport
impl UnsafeUnpin for PrecheckReport
impl UnwindSafe for PrecheckReport
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