pub struct ConnectionAddress {
pub base: IpAddr,
pub ttl: Option<u32>,
pub numaddr: Option<u32>,
}
Expand description
The connection address of the connection line (c=
).
Fields§
§base: IpAddr
§ttl: Option<u32>
§numaddr: Option<u32>
Trait Implementations§
Source§impl Clone for ConnectionAddress
impl Clone for ConnectionAddress
Source§fn clone(&self) -> ConnectionAddress
fn clone(&self) -> ConnectionAddress
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 ConnectionAddress
impl Debug for ConnectionAddress
Source§impl Display for ConnectionAddress
impl Display for ConnectionAddress
Source§impl<'a> From<IpAddr> for ConnectionAddress
impl<'a> From<IpAddr> for ConnectionAddress
Source§impl Ord for ConnectionAddress
impl Ord for ConnectionAddress
Source§fn cmp(&self, other: &ConnectionAddress) -> Ordering
fn cmp(&self, other: &ConnectionAddress) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConnectionAddress
impl PartialEq for ConnectionAddress
Source§impl PartialOrd for ConnectionAddress
impl PartialOrd for ConnectionAddress
impl Copy for ConnectionAddress
impl Eq for ConnectionAddress
impl StructuralPartialEq for ConnectionAddress
Auto Trait Implementations§
impl Freeze for ConnectionAddress
impl RefUnwindSafe for ConnectionAddress
impl Send for ConnectionAddress
impl Sync for ConnectionAddress
impl Unpin for ConnectionAddress
impl UnwindSafe for ConnectionAddress
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