pub struct InspectBlkioThrottleDevice {
pub path: Option<String>,
pub rate: Option<u64>,
}
Expand description
InspectBlkioThrottleDevice holds information about a speed cap for a device node. This cap applies to a specific operation (read, write, etc) on the given node.
Fields§
§path: Option<String>
Path is the path to the device this applies to.
rate: Option<u64>
Rate is the maximum rate. It is in either bytes per second or iops per second, determined by where it is used - documentation will indicate which is appropriate.
Trait Implementations§
Source§impl Clone for InspectBlkioThrottleDevice
impl Clone for InspectBlkioThrottleDevice
Source§fn clone(&self) -> InspectBlkioThrottleDevice
fn clone(&self) -> InspectBlkioThrottleDevice
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InspectBlkioThrottleDevice
impl Debug for InspectBlkioThrottleDevice
Source§impl<'de> Deserialize<'de> for InspectBlkioThrottleDevice
impl<'de> Deserialize<'de> for InspectBlkioThrottleDevice
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
Source§impl PartialEq for InspectBlkioThrottleDevice
impl PartialEq for InspectBlkioThrottleDevice
Source§fn eq(&self, other: &InspectBlkioThrottleDevice) -> bool
fn eq(&self, other: &InspectBlkioThrottleDevice) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InspectBlkioThrottleDevice
Auto Trait Implementations§
impl Freeze for InspectBlkioThrottleDevice
impl RefUnwindSafe for InspectBlkioThrottleDevice
impl Send for InspectBlkioThrottleDevice
impl Sync for InspectBlkioThrottleDevice
impl Unpin for InspectBlkioThrottleDevice
impl UnwindSafe for InspectBlkioThrottleDevice
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