pub struct NetworkInterfaceAddress {
pub interface_name: String,
pub flags: i32,
pub address: Option<String>,
pub netmask: Option<String>,
pub broadcast: Option<String>,
pub destination: Option<String>,
}Fields§
§interface_name: String§flags: i32§address: Option<String>§netmask: Option<String>§broadcast: Option<String>§destination: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for NetworkInterfaceAddress
impl Clone for NetworkInterfaceAddress
Source§fn clone(&self) -> NetworkInterfaceAddress
fn clone(&self) -> NetworkInterfaceAddress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NetworkInterfaceAddress
impl Debug for NetworkInterfaceAddress
Source§impl<'de> Deserialize<'de> for NetworkInterfaceAddress
impl<'de> Deserialize<'de> for NetworkInterfaceAddress
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
Source§impl Hash for NetworkInterfaceAddress
impl Hash for NetworkInterfaceAddress
Source§impl Ord for NetworkInterfaceAddress
impl Ord for NetworkInterfaceAddress
Source§fn cmp(&self, other: &NetworkInterfaceAddress) -> Ordering
fn cmp(&self, other: &NetworkInterfaceAddress) -> Ordering
1.21.0 (const: unstable) · 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 NetworkInterfaceAddress
impl PartialEq for NetworkInterfaceAddress
Source§fn eq(&self, other: &NetworkInterfaceAddress) -> bool
fn eq(&self, other: &NetworkInterfaceAddress) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NetworkInterfaceAddress
impl PartialOrd for NetworkInterfaceAddress
Source§impl Serialize for NetworkInterfaceAddress
impl Serialize for NetworkInterfaceAddress
impl Eq for NetworkInterfaceAddress
impl StructuralPartialEq for NetworkInterfaceAddress
Auto Trait Implementations§
impl Freeze for NetworkInterfaceAddress
impl RefUnwindSafe for NetworkInterfaceAddress
impl Send for NetworkInterfaceAddress
impl Sync for NetworkInterfaceAddress
impl Unpin for NetworkInterfaceAddress
impl UnsafeUnpin for NetworkInterfaceAddress
impl UnwindSafe for NetworkInterfaceAddress
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