Enum chainhook_types::BlockchainEvent
source · pub enum BlockchainEvent {
BlockchainUpdatedWithHeaders(BlockchainUpdatedWithHeaders),
BlockchainUpdatedWithReorg(BlockchainUpdatedWithReorg),
}Variants§
BlockchainUpdatedWithHeaders(BlockchainUpdatedWithHeaders)
BlockchainUpdatedWithReorg(BlockchainUpdatedWithReorg)
Trait Implementations§
source§impl Clone for BlockchainEvent
impl Clone for BlockchainEvent
source§fn clone(&self) -> BlockchainEvent
fn clone(&self) -> BlockchainEvent
Returns a copy 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 moresource§impl Debug for BlockchainEvent
impl Debug for BlockchainEvent
source§impl PartialEq for BlockchainEvent
impl PartialEq for BlockchainEvent
source§fn eq(&self, other: &BlockchainEvent) -> bool
fn eq(&self, other: &BlockchainEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for BlockchainEvent
impl Serialize for BlockchainEvent
impl StructuralPartialEq for BlockchainEvent
Auto Trait Implementations§
impl RefUnwindSafe for BlockchainEvent
impl Send for BlockchainEvent
impl Sync for BlockchainEvent
impl Unpin for BlockchainEvent
impl UnwindSafe for BlockchainEvent
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