Struct bdk_chain::bitcoin::p2p::message_compact_blocks::SendCmpct
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§
§impl Ord for SendCmpct
impl Ord for SendCmpct
§impl PartialOrd for SendCmpct
impl PartialOrd for SendCmpct
§fn partial_cmp(&self, other: &SendCmpct) -> Option<Ordering>
fn partial_cmp(&self, other: &SendCmpct) -> Option<Ordering>
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
§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