Struct rust_util::util_net::IpAddressAndPort
source · pub struct IpAddressAndPort {
pub ip: IpAddress,
pub port: u16,
}
Fields§
§ip: IpAddress
§port: u16
Implementations§
Trait Implementations§
source§impl Clone for IpAddressAndPort
impl Clone for IpAddressAndPort
source§fn clone(&self) -> IpAddressAndPort
fn clone(&self) -> IpAddressAndPort
Returns a copy 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 IpAddressAndPort
impl Debug for IpAddressAndPort
Auto Trait Implementations§
impl RefUnwindSafe for IpAddressAndPort
impl Send for IpAddressAndPort
impl Sync for IpAddressAndPort
impl Unpin for IpAddressAndPort
impl UnwindSafe for IpAddressAndPort
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