pub struct BlockchainUpdatedWithHeaders {
pub new_headers: Vec<BlockHeader>,
pub confirmed_headers: Vec<BlockHeader>,
}Fields§
§new_headers: Vec<BlockHeader>§confirmed_headers: Vec<BlockHeader>Trait Implementations§
source§impl Clone for BlockchainUpdatedWithHeaders
impl Clone for BlockchainUpdatedWithHeaders
source§fn clone(&self) -> BlockchainUpdatedWithHeaders
fn clone(&self) -> BlockchainUpdatedWithHeaders
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 BlockchainUpdatedWithHeaders
impl Debug for BlockchainUpdatedWithHeaders
source§impl PartialEq for BlockchainUpdatedWithHeaders
impl PartialEq for BlockchainUpdatedWithHeaders
source§fn eq(&self, other: &BlockchainUpdatedWithHeaders) -> bool
fn eq(&self, other: &BlockchainUpdatedWithHeaders) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BlockchainUpdatedWithHeaders
Auto Trait Implementations§
impl RefUnwindSafe for BlockchainUpdatedWithHeaders
impl Send for BlockchainUpdatedWithHeaders
impl Sync for BlockchainUpdatedWithHeaders
impl Unpin for BlockchainUpdatedWithHeaders
impl UnwindSafe for BlockchainUpdatedWithHeaders
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