pub struct NetworkPriority {
pub name: String,
pub priority: u64,
}
Expand description
Assigned priority for a network device.
Fields§
§name: String
The name (as visible in ifconfig
) of the interface.
priority: u64
Assigned priority.
Trait Implementations§
Source§impl Clone for NetworkPriority
impl Clone for NetworkPriority
Source§fn clone(&self) -> NetworkPriority
fn clone(&self) -> NetworkPriority
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 NetworkPriority
impl Debug for NetworkPriority
Source§impl Default for NetworkPriority
impl Default for NetworkPriority
Source§fn default() -> NetworkPriority
fn default() -> NetworkPriority
Returns the “default value” for a type. Read more
Source§impl PartialEq for NetworkPriority
impl PartialEq for NetworkPriority
impl Eq for NetworkPriority
impl StructuralPartialEq for NetworkPriority
Auto Trait Implementations§
impl Freeze for NetworkPriority
impl RefUnwindSafe for NetworkPriority
impl Send for NetworkPriority
impl Sync for NetworkPriority
impl Unpin for NetworkPriority
impl UnwindSafe for NetworkPriority
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