[][src]Struct komodo_rpc_client::Peer

pub struct Peer {
    pub id: u32,
    pub addr: String,
    pub addrlocal: String,
    pub services: String,
    pub lastsend: u64,
    pub lastrecv: u64,
    pub bytessent: u64,
    pub bytesrecv: u64,
    pub conntime: u64,
    pub timeoffset: i32,
    pub pingtime: f64,
    pub version: u32,
    pub subver: String,
    pub inbound: bool,
    pub startingheight: u64,
    pub banscore: u8,
    pub synced_headers: u64,
    pub synced_blocks: u64,
    pub inflight: Vec<Option<u64>>,
    pub whitelisted: bool,
}

Fields

id: u32addr: Stringaddrlocal: Stringservices: Stringlastsend: u64lastrecv: u64bytessent: u64bytesrecv: u64conntime: u64timeoffset: i32pingtime: f64version: u32subver: Stringinbound: boolstartingheight: u64banscore: u8synced_headers: u64synced_blocks: u64inflight: Vec<Option<u64>>whitelisted: bool

Trait Implementations

impl Debug for Peer[src]

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

impl Serialize for Peer[src]

Auto Trait Implementations

impl RefUnwindSafe for Peer

impl Send for Peer

impl Sync for Peer

impl Unpin for Peer

impl UnwindSafe for Peer

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: for<'de> Deserialize<'de>, 
[src]

impl<T> Erased for T

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

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

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.