Struct podman_api::models::LinuxWeightDevice
source · pub struct LinuxWeightDevice {
pub leaf_weight: Option<u16>,
pub major: Option<i64>,
pub minor: Option<i64>,
pub weight: Option<u16>,
}
Expand description
LinuxWeightDevice struct holds a major:minor weight
pair for weightDevice
Fields§
§leaf_weight: Option<u16>
LeafWeight is the bandwidth rate for the device while competing with the cgroup’s child cgroups, CFQ scheduler only
major: Option<i64>
Major is the device’s major number.
minor: Option<i64>
Minor is the device’s minor number.
weight: Option<u16>
Weight is the bandwidth rate for the device.
Trait Implementations§
source§impl Clone for LinuxWeightDevice
impl Clone for LinuxWeightDevice
source§fn clone(&self) -> LinuxWeightDevice
fn clone(&self) -> LinuxWeightDevice
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 LinuxWeightDevice
impl Debug for LinuxWeightDevice
source§impl<'de> Deserialize<'de> for LinuxWeightDevice
impl<'de> Deserialize<'de> for LinuxWeightDevice
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<LinuxWeightDevice, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<LinuxWeightDevice, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<LinuxWeightDevice> for LinuxWeightDevice
impl PartialEq<LinuxWeightDevice> for LinuxWeightDevice
source§fn eq(&self, other: &LinuxWeightDevice) -> bool
fn eq(&self, other: &LinuxWeightDevice) -> bool
source§impl Serialize for LinuxWeightDevice
impl Serialize for LinuxWeightDevice
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more