pub struct LinuxResourcesNetworkPriority {
pub name: Option<String>,
pub priority: Option<u32>,
}
Fields§
§name: Option<String>
§priority: Option<u32>
Trait Implementations§
Source§impl Default for LinuxResourcesNetworkPriority
impl Default for LinuxResourcesNetworkPriority
Source§fn default() -> LinuxResourcesNetworkPriority
fn default() -> LinuxResourcesNetworkPriority
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinuxResourcesNetworkPriority
impl<'de> Deserialize<'de> for LinuxResourcesNetworkPriority
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 LinuxResourcesNetworkPriority
impl RefUnwindSafe for LinuxResourcesNetworkPriority
impl Send for LinuxResourcesNetworkPriority
impl Sync for LinuxResourcesNetworkPriority
impl Unpin for LinuxResourcesNetworkPriority
impl UnwindSafe for LinuxResourcesNetworkPriority
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