pub struct InspectBlkioThrottleDevice {
pub path: Option<String>,
pub rate: Option<i32>,
}Expand description
InspectBlkioThrottleDevice : 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<i32>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.
Implementations§
Source§impl InspectBlkioThrottleDevice
impl InspectBlkioThrottleDevice
Sourcepub fn new() -> InspectBlkioThrottleDevice
pub fn new() -> InspectBlkioThrottleDevice
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.
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InspectBlkioThrottleDevice
impl Debug for InspectBlkioThrottleDevice
Source§impl Default for InspectBlkioThrottleDevice
impl Default for InspectBlkioThrottleDevice
Source§fn default() -> InspectBlkioThrottleDevice
fn default() -> InspectBlkioThrottleDevice
Returns the “default value” for a type. Read more
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
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