pub struct NetworkAddress {
pub timestamp: Option<u32>,
pub services: Services,
pub addr: IpAddr,
pub port: u16,
}Expand description
Network address with timestamp and services
Fields§
§timestamp: Option<u32>§services: Services§addr: IpAddr§port: u16Implementations§
Trait Implementations§
Source§impl Clone for NetworkAddress
impl Clone for NetworkAddress
Source§fn clone(&self) -> NetworkAddress
fn clone(&self) -> NetworkAddress
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 NetworkAddress
impl Debug for NetworkAddress
Source§impl PartialEq for NetworkAddress
impl PartialEq for NetworkAddress
impl Eq for NetworkAddress
impl StructuralPartialEq for NetworkAddress
Auto Trait Implementations§
impl Freeze for NetworkAddress
impl RefUnwindSafe for NetworkAddress
impl Send for NetworkAddress
impl Sync for NetworkAddress
impl Unpin for NetworkAddress
impl UnwindSafe for NetworkAddress
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