Struct bitcoin::p2p::message_compact_blocks::SendCmpct
source · pub struct SendCmpct {
pub send_compact: bool,
pub version: u64,
}
Expand description
sendcmpct message
Fields§
§send_compact: bool
Request to be send compact blocks.
version: u64
Compact Blocks protocol version number.
Trait Implementations§
source§impl Ord for SendCmpct
impl Ord for SendCmpct
source§impl PartialEq<SendCmpct> for SendCmpct
impl PartialEq<SendCmpct> for SendCmpct
source§impl PartialOrd<SendCmpct> for SendCmpct
impl PartialOrd<SendCmpct> for SendCmpct
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SendCmpct
impl Eq for SendCmpct
impl StructuralEq for SendCmpct
impl StructuralPartialEq for SendCmpct
Auto Trait Implementations§
impl RefUnwindSafe for SendCmpct
impl Send for SendCmpct
impl Sync for SendCmpct
impl Unpin for SendCmpct
impl UnwindSafe for SendCmpct
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