Struct cgroups_rs::NetworkPriority
source · 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<NetworkPriority> for NetworkPriority
impl PartialEq<NetworkPriority> for NetworkPriority
source§fn eq(&self, other: &NetworkPriority) -> bool
fn eq(&self, other: &NetworkPriority) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.