pub struct SealConsumptionEvent {
pub chain: ChainId,
pub seal: SealRef,
pub right: Right,
pub inclusion: InclusionProof,
pub height: u64,
pub tx_hash: Hash,
}Expand description
Seal consumption event — the atomic unit of client-side validation.
When a seal is consumed on any chain, this event is created. The client verifies this event and accepts or rejects the state transition.
Fields§
§chain: ChainIdWhich chain enforced the consumption
seal: SealRefThe seal that was consumed
right: RightThe Right after consumption (new owner, etc.)
inclusion: InclusionProofInclusion proof (chain-specific)
height: u64Block/checkpoint height
tx_hash: HashTransaction hash that consumed the seal
Trait Implementations§
Source§impl Clone for SealConsumptionEvent
impl Clone for SealConsumptionEvent
Source§fn clone(&self) -> SealConsumptionEvent
fn clone(&self) -> SealConsumptionEvent
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 SealConsumptionEvent
impl RefUnwindSafe for SealConsumptionEvent
impl Send for SealConsumptionEvent
impl Sync for SealConsumptionEvent
impl Unpin for SealConsumptionEvent
impl UnsafeUnpin for SealConsumptionEvent
impl UnwindSafe for SealConsumptionEvent
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