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 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 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<InspectBlkioThrottleDevice, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InspectBlkioThrottleDevice, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for InspectBlkioThrottleDevice
impl Serialize for InspectBlkioThrottleDevice
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
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