pub struct OfflineEvidence {
pub validator: ValidatorId,
pub missed_commits: u64,
pub total_commits: u64,
pub evidence_height: Height,
}Expand description
Offline evidence reported to the application at epoch boundaries.
Fields§
§validator: ValidatorId§missed_commits: u64§total_commits: u64§evidence_height: HeightThe height at which this evidence was produced (last committed block).
Trait Implementations§
Source§impl Clone for OfflineEvidence
impl Clone for OfflineEvidence
Source§fn clone(&self) -> OfflineEvidence
fn clone(&self) -> OfflineEvidence
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OfflineEvidence
impl RefUnwindSafe for OfflineEvidence
impl Send for OfflineEvidence
impl Sync for OfflineEvidence
impl Unpin for OfflineEvidence
impl UnsafeUnpin for OfflineEvidence
impl UnwindSafe for OfflineEvidence
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