Struct netzwork_api::interface::NetInterface
source · pub struct NetInterface {
pub host_uuid: Uuid,
pub uuid: Uuid,
pub name: String,
pub mac_addr: MacAddress,
}
Fields§
§host_uuid: Uuid
§uuid: Uuid
§name: String
§mac_addr: MacAddress
Trait Implementations§
source§impl Clone for NetInterface
impl Clone for NetInterface
source§fn clone(&self) -> NetInterface
fn clone(&self) -> NetInterface
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 NetInterface
impl Debug for NetInterface
source§impl<'de> Deserialize<'de> for NetInterface
impl<'de> Deserialize<'de> for NetInterface
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 Display for NetInterface
impl Display for NetInterface
source§impl PartialEq<NetInterface> for NetInterface
impl PartialEq<NetInterface> for NetInterface
source§fn eq(&self, other: &NetInterface) -> bool
fn eq(&self, other: &NetInterface) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NetInterface
impl Serialize for NetInterface
impl StructuralPartialEq for NetInterface
Auto Trait Implementations§
impl RefUnwindSafe for NetInterface
impl Send for NetInterface
impl Sync for NetInterface
impl Unpin for NetInterface
impl UnwindSafe for NetInterface
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