pub struct NodeAddrEx {
pub last_connected_time: u32,
pub addr: NodeAddr,
}
Expand description
Node network address extended with a last connected time
Fields§
§last_connected_time: u32
Last connected time in seconds since the unix epoch
addr: NodeAddr
Node address
Implementations§
Trait Implementations§
Source§impl Clone for NodeAddrEx
impl Clone for NodeAddrEx
Source§fn clone(&self) -> NodeAddrEx
fn clone(&self) -> NodeAddrEx
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 NodeAddrEx
impl Debug for NodeAddrEx
Source§impl Default for NodeAddrEx
impl Default for NodeAddrEx
Source§fn default() -> NodeAddrEx
fn default() -> NodeAddrEx
Returns the “default value” for a type. Read more
Source§impl Hash for NodeAddrEx
impl Hash for NodeAddrEx
Source§impl PartialEq for NodeAddrEx
impl PartialEq for NodeAddrEx
Source§impl Serializable<NodeAddrEx> for NodeAddrEx
impl Serializable<NodeAddrEx> for NodeAddrEx
impl Eq for NodeAddrEx
impl StructuralPartialEq for NodeAddrEx
Auto Trait Implementations§
impl Freeze for NodeAddrEx
impl RefUnwindSafe for NodeAddrEx
impl Send for NodeAddrEx
impl Sync for NodeAddrEx
impl Unpin for NodeAddrEx
impl UnwindSafe for NodeAddrEx
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