Struct taxy_api::port::NetworkInterface
source · pub struct NetworkInterface {
pub name: String,
pub addrs: Vec<NetworkAddr>,
pub mac: Option<String>,
}Fields§
§name: String§addrs: Vec<NetworkAddr>§mac: Option<String>Trait Implementations§
source§impl Clone for NetworkInterface
impl Clone for NetworkInterface
source§fn clone(&self) -> NetworkInterface
fn clone(&self) -> NetworkInterface
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 NetworkInterface
impl Debug for NetworkInterface
source§impl<'de> Deserialize<'de> for NetworkInterface
impl<'de> Deserialize<'de> for NetworkInterface
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 PartialEq<NetworkInterface> for NetworkInterface
impl PartialEq<NetworkInterface> for NetworkInterface
source§fn eq(&self, other: &NetworkInterface) -> bool
fn eq(&self, other: &NetworkInterface) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for NetworkInterface
impl Serialize for NetworkInterface
source§impl<'__s> ToSchema<'__s> for NetworkInterface
impl<'__s> ToSchema<'__s> for NetworkInterface
impl Eq for NetworkInterface
impl StructuralEq for NetworkInterface
impl StructuralPartialEq for NetworkInterface
Auto Trait Implementations§
impl RefUnwindSafe for NetworkInterface
impl Send for NetworkInterface
impl Sync for NetworkInterface
impl Unpin for NetworkInterface
impl UnwindSafe for NetworkInterface
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.