Struct bitcoin::p2p::message_filter::CFilter
source · pub struct CFilter {
pub filter_type: u8,
pub block_hash: BlockHash,
pub filter: Vec<u8>,
}
Expand description
cfilter message
Fields§
§filter_type: u8
Byte identifying the type of filter being returned
block_hash: BlockHash
Block hash of the Bitcoin block for which the filter is being returned
filter: Vec<u8>
The serialized compact filter for this block
Trait Implementations§
source§impl PartialEq<CFilter> for CFilter
impl PartialEq<CFilter> for CFilter
impl Eq for CFilter
impl StructuralEq for CFilter
impl StructuralPartialEq for CFilter
Auto Trait Implementations§
impl RefUnwindSafe for CFilter
impl Send for CFilter
impl Sync for CFilter
impl Unpin for CFilter
impl UnwindSafe for CFilter
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