pub struct NetInterface {
pub host_uuid: Uuid,
pub uuid: Uuid,
pub name: String,
pub mac_addr: Vec<u8>,
}
Fields§
§host_uuid: Uuid
§uuid: Uuid
§name: String
§mac_addr: Vec<u8>
Trait Implementations§
Source§impl Clone for NetInterface
impl Clone for NetInterface
Source§fn clone(&self) -> NetInterface
fn clone(&self) -> NetInterface
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 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 for NetInterface
impl PartialEq for NetInterface
Source§impl Serialize for NetInterface
impl Serialize for NetInterface
impl StructuralPartialEq for NetInterface
Auto Trait Implementations§
impl Freeze for NetInterface
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