Struct bitcoin::p2p::message_compact_blocks::SendCmpct
source · pub struct SendCmpct {
pub send_compact: bool,
pub version: u64,
}
Available on crate feature
std
only.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 for SendCmpct
impl PartialEq for SendCmpct
source§impl PartialOrd for SendCmpct
impl PartialOrd 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 StructuralPartialEq for SendCmpct
Auto Trait Implementations§
impl Freeze for SendCmpct
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)