Struct bitcoin_cli::NetInfoRequestHandlerPeer
source · pub struct NetInfoRequestHandlerPeer {Show 21 fields
pub addr: String,
pub sub_version: String,
pub conn_type: String,
pub network: String,
pub age: String,
pub min_ping: FloatOrd<f64>,
pub ping: FloatOrd<f64>,
pub addr_processed: i64,
pub addr_rate_limited: i64,
pub last_blck: i64,
pub last_recv: i64,
pub last_send: i64,
pub last_trxn: i64,
pub id: i32,
pub mapped_as: i32,
pub version: i32,
pub is_addr_relay_enabled: bool,
pub is_bip152_hb_from: bool,
pub is_bip152_hb_to: bool,
pub is_block_relay: bool,
pub is_outbound: bool,
}
Fields§
§addr: String
§sub_version: String
§conn_type: String
§network: String
§age: String
§min_ping: FloatOrd<f64>
§ping: FloatOrd<f64>
§addr_processed: i64
§addr_rate_limited: i64
§last_blck: i64
§last_recv: i64
§last_send: i64
§last_trxn: i64
§id: i32
§mapped_as: i32
§version: i32
§is_addr_relay_enabled: bool
§is_bip152_hb_from: bool
§is_bip152_hb_to: bool
§is_block_relay: bool
§is_outbound: bool
Trait Implementations§
source§impl Ord for NetInfoRequestHandlerPeer
impl Ord for NetInfoRequestHandlerPeer
source§fn cmp(&self, other: &NetInfoRequestHandlerPeer) -> Ordering
fn cmp(&self, other: &NetInfoRequestHandlerPeer) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<NetInfoRequestHandlerPeer> for NetInfoRequestHandlerPeer
impl PartialEq<NetInfoRequestHandlerPeer> for NetInfoRequestHandlerPeer
source§fn eq(&self, other: &NetInfoRequestHandlerPeer) -> bool
fn eq(&self, other: &NetInfoRequestHandlerPeer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<NetInfoRequestHandlerPeer> for NetInfoRequestHandlerPeer
impl PartialOrd<NetInfoRequestHandlerPeer> for NetInfoRequestHandlerPeer
source§fn partial_cmp(&self, other: &NetInfoRequestHandlerPeer) -> Option<Ordering>
fn partial_cmp(&self, other: &NetInfoRequestHandlerPeer) -> 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 Eq for NetInfoRequestHandlerPeer
impl StructuralEq for NetInfoRequestHandlerPeer
impl StructuralPartialEq for NetInfoRequestHandlerPeer
Auto Trait Implementations§
impl RefUnwindSafe for NetInfoRequestHandlerPeer
impl Send for NetInfoRequestHandlerPeer
impl Sync for NetInfoRequestHandlerPeer
impl Unpin for NetInfoRequestHandlerPeer
impl UnwindSafe for NetInfoRequestHandlerPeer
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more