Struct oci_spec::runtime::LinuxThrottleDevice [−][src]
Expand description
LinuxThrottleDevice struct holds a major:minor rate_per_second pair.
Fields
major: i64Major is the device’s major number.
minor: i64Minor is the device’s minor number.
rate: u64Rate is the IO rate limit per cgroup per device.
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for LinuxThrottleDevice
impl Send for LinuxThrottleDevice
impl Sync for LinuxThrottleDevice
impl Unpin for LinuxThrottleDevice
impl UnwindSafe for LinuxThrottleDevice
Blanket Implementations
Mutably borrows from an owned value. Read more