pub struct CommitBlockEvent {
pub timestamp: SystemTime,
pub block: CryptoHash,
}
Expand description
A block
was committed. This involves persistent changes to the
Block Tree.
Fields§
§timestamp: SystemTime
§block: CryptoHash
Trait Implementations§
source§impl Logger for CommitBlockEvent
impl Logger for CommitBlockEvent
Auto Trait Implementations§
impl Freeze for CommitBlockEvent
impl RefUnwindSafe for CommitBlockEvent
impl Send for CommitBlockEvent
impl Sync for CommitBlockEvent
impl Unpin for CommitBlockEvent
impl UnwindSafe for CommitBlockEvent
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