pub struct GetPeerInfo(pub Vec<PeerInfo>);Expand description
Result of JSON-RPC method getpeerinfo.
getpeerinfo
Returns data about each connected network node as a json array of objects.
Tuple Fields§
§0: Vec<PeerInfo>Trait Implementations§
Source§impl Clone for GetPeerInfo
impl Clone for GetPeerInfo
Source§fn clone(&self) -> GetPeerInfo
fn clone(&self) -> GetPeerInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetPeerInfo
impl Debug for GetPeerInfo
Source§impl<'de> Deserialize<'de> for GetPeerInfo
impl<'de> Deserialize<'de> for GetPeerInfo
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
Source§impl PartialEq for GetPeerInfo
impl PartialEq for GetPeerInfo
Source§impl Serialize for GetPeerInfo
impl Serialize for GetPeerInfo
impl StructuralPartialEq for GetPeerInfo
Auto Trait Implementations§
impl Freeze for GetPeerInfo
impl RefUnwindSafe for GetPeerInfo
impl Send for GetPeerInfo
impl Sync for GetPeerInfo
impl Unpin for GetPeerInfo
impl UnwindSafe for GetPeerInfo
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