Struct bdk_chain::bitcoin::p2p::message_filter::CFHeaders
pub struct CFHeaders {
pub filter_type: u8,
pub stop_hash: BlockHash,
pub previous_filter_header: FilterHeader,
pub filter_hashes: Vec<FilterHash>,
}
Expand description
cfheaders message
Fields§
§filter_type: u8
Filter type for which headers are requested
stop_hash: BlockHash
The hash of the last block in the requested range
previous_filter_header: FilterHeader
The filter header preceding the first block in the requested range
filter_hashes: Vec<FilterHash>
The filter hashes for each block in the requested range
Trait Implementations§
impl Eq for CFHeaders
impl StructuralPartialEq for CFHeaders
Auto Trait Implementations§
impl Freeze for CFHeaders
impl RefUnwindSafe for CFHeaders
impl Send for CFHeaders
impl Sync for CFHeaders
impl Unpin for CFHeaders
impl UnwindSafe for CFHeaders
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more