pub struct InterfaceDescription {
pub name: String,
pub description: String,
}Expand description
Describes a network interface.
Fields§
§name: StringInterface name that can be used as an argument for open_interface() function.
description: StringHuman friendly interface description.
Trait Implementations§
Source§impl Clone for InterfaceDescription
impl Clone for InterfaceDescription
Source§fn clone(&self) -> InterfaceDescription
fn clone(&self) -> InterfaceDescription
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 InterfaceDescription
impl Debug for InterfaceDescription
Auto Trait Implementations§
impl Freeze for InterfaceDescription
impl RefUnwindSafe for InterfaceDescription
impl Send for InterfaceDescription
impl Sync for InterfaceDescription
impl Unpin for InterfaceDescription
impl UnwindSafe for InterfaceDescription
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