pub struct PeersResponseItem {
pub id: u64,
pub ip: String,
pub timestamp: u64,
pub blocked: bool,
pub reason: String,
}
Expand description
§/api/v2/log/peers
Fields§
§id: u64
§ip: String
§timestamp: u64
§blocked: bool
§reason: String
Trait Implementations§
Source§impl Clone for PeersResponseItem
impl Clone for PeersResponseItem
Source§fn clone(&self) -> PeersResponseItem
fn clone(&self) -> PeersResponseItem
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 PeersResponseItem
impl Debug for PeersResponseItem
Source§impl<'de> Deserialize<'de> for PeersResponseItem
impl<'de> Deserialize<'de> for PeersResponseItem
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 PeersResponseItem
impl RefUnwindSafe for PeersResponseItem
impl Send for PeersResponseItem
impl Sync for PeersResponseItem
impl Unpin for PeersResponseItem
impl UnwindSafe for PeersResponseItem
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