pub struct LinuxInterfacePriority {
pub name: Option<String>,
pub priority: Option<u32>,
}
Available on crate feature
v5
only.Expand description
LinuxInterfacePriority for network interfaces
Fields§
§name: Option<String>
Name is the name of the network interface
priority: Option<u32>
Priority for the interface
Trait Implementations§
Source§impl Debug for LinuxInterfacePriority
impl Debug for LinuxInterfacePriority
Source§impl Default for LinuxInterfacePriority
impl Default for LinuxInterfacePriority
Source§fn default() -> LinuxInterfacePriority
fn default() -> LinuxInterfacePriority
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinuxInterfacePriority
impl<'de> Deserialize<'de> for LinuxInterfacePriority
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
Auto Trait Implementations§
impl Freeze for LinuxInterfacePriority
impl RefUnwindSafe for LinuxInterfacePriority
impl Send for LinuxInterfacePriority
impl Sync for LinuxInterfacePriority
impl Unpin for LinuxInterfacePriority
impl UnwindSafe for LinuxInterfacePriority
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