Struct nimiq_rpc::primitives::PeerList
source · pub struct PeerList {
pub id: String,
pub address: String,
pub address_state: u64,
pub connection_state: Option<u64>,
pub version: Option<u64>,
pub time_offset: Option<i64>,
pub head_hash: Option<String>,
pub latency: Option<u64>,
pub rx: Option<u64>,
pub tx: Option<u64>,
}
Fields§
§id: String
§address: String
§address_state: u64
§connection_state: Option<u64>
§version: Option<u64>
§time_offset: Option<i64>
§head_hash: Option<String>
§latency: Option<u64>
§rx: Option<u64>
§tx: Option<u64>
Trait Implementations§
source§impl<'de> Deserialize<'de> for PeerList
impl<'de> Deserialize<'de> for PeerList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PeerList
impl RefUnwindSafe for PeerList
impl Send for PeerList
impl Sync for PeerList
impl Unpin for PeerList
impl UnwindSafe for PeerList
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