[][src]Struct tron_api_client::response::node_info::PeerList

pub struct PeerList {
    pub active: bool,
    pub avg_latency: f64,
    pub block_in_porc_size: i64,
    pub connect_time: i64,
    pub disconnect_times: i64,
    pub head_block_time_we_both_have: i64,
    pub head_block_we_both_have: String,
    pub host: String,
    pub in_flow: i64,
    pub last_block_update_time: i64,
    pub last_sync_block: String,
    pub local_disconnect_reason: String,
    pub need_sync_from_peer: bool,
    pub need_sync_from_us: bool,
    pub node_count: i64,
    pub node_id: String,
    pub port: i64,
    pub remain_num: i64,
    pub remote_disconnect_reason: String,
    pub score: i64,
    pub sync_block_requested_size: i64,
    pub sync_flag: bool,
    pub sync_to_fetch_size: i64,
    pub sync_to_fetch_size_peek_num: i64,
    pub un_fetch_syn_num: i64,
}

Fields

active: boolavg_latency: f64block_in_porc_size: i64connect_time: i64disconnect_times: i64head_block_time_we_both_have: i64head_block_we_both_have: Stringhost: Stringin_flow: i64last_block_update_time: i64last_sync_block: Stringlocal_disconnect_reason: Stringneed_sync_from_peer: boolneed_sync_from_us: boolnode_count: i64node_id: Stringport: i64remain_num: i64remote_disconnect_reason: Stringscore: i64sync_block_requested_size: i64sync_flag: boolsync_to_fetch_size: i64sync_to_fetch_size_peek_num: i64un_fetch_syn_num: i64

Trait Implementations

impl Clone for PeerList[src]

impl Debug for PeerList[src]

impl Default for PeerList[src]

impl<'de> Deserialize<'de> for PeerList[src]

impl PartialEq<PeerList> for PeerList[src]

impl Serialize for PeerList[src]

impl StructuralPartialEq for PeerList[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.