Struct bitcoin::p2p::message_filter::GetCFCheckpt
source · pub struct GetCFCheckpt {
pub filter_type: u8,
pub stop_hash: BlockHash,
}
Expand description
getcfcheckpt 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
Trait Implementations§
source§impl Clone for GetCFCheckpt
impl Clone for GetCFCheckpt
source§fn clone(&self) -> GetCFCheckpt
fn clone(&self) -> GetCFCheckpt
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 GetCFCheckpt
impl Debug for GetCFCheckpt
source§impl Decodable for GetCFCheckpt
impl Decodable for GetCFCheckpt
source§fn consensus_decode_from_finite_reader<R: Read + ?Sized>(
r: &mut R
) -> Result<GetCFCheckpt, Error>
fn consensus_decode_from_finite_reader<R: Read + ?Sized>( r: &mut R ) -> Result<GetCFCheckpt, Error>
Decode
Self
from a size-limited reader. Read moresource§fn consensus_decode<R: Read + ?Sized>(r: &mut R) -> Result<GetCFCheckpt, Error>
fn consensus_decode<R: Read + ?Sized>(r: &mut R) -> Result<GetCFCheckpt, Error>
Decode an object with a well-defined format. Read more
source§impl Encodable for GetCFCheckpt
impl Encodable for GetCFCheckpt
source§impl PartialEq<GetCFCheckpt> for GetCFCheckpt
impl PartialEq<GetCFCheckpt> for GetCFCheckpt
source§fn eq(&self, other: &GetCFCheckpt) -> bool
fn eq(&self, other: &GetCFCheckpt) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GetCFCheckpt
impl StructuralEq for GetCFCheckpt
impl StructuralPartialEq for GetCFCheckpt
Auto Trait Implementations§
impl RefUnwindSafe for GetCFCheckpt
impl Send for GetCFCheckpt
impl Sync for GetCFCheckpt
impl Unpin for GetCFCheckpt
impl UnwindSafe for GetCFCheckpt
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