pub struct BlockIo {
pub leaf_weight: Option<i64>,
pub throttle_read_bps_device: Option<Vec<BlockIoDeviceThrottle>>,
pub throttle_read_iops_device: Option<Vec<BlockIoDeviceThrottle>>,
pub throttle_write_bps_device: Option<Vec<BlockIoDeviceThrottle>>,
pub throttle_write_iops_device: Option<Vec<BlockIoDeviceThrottle>>,
pub weight: Option<i64>,
pub weight_device: Option<Vec<BlockIoDeviceWeight>>,
}
Fields§
§leaf_weight: Option<i64>
§throttle_read_bps_device: Option<Vec<BlockIoDeviceThrottle>>
§throttle_read_iops_device: Option<Vec<BlockIoDeviceThrottle>>
§throttle_write_bps_device: Option<Vec<BlockIoDeviceThrottle>>
§throttle_write_iops_device: Option<Vec<BlockIoDeviceThrottle>>
§weight: Option<i64>
§weight_device: Option<Vec<BlockIoDeviceWeight>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlockIo
impl<'de> Deserialize<'de> for BlockIo
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 BlockIo
Auto Trait Implementations§
impl Freeze for BlockIo
impl RefUnwindSafe for BlockIo
impl Send for BlockIo
impl Sync for BlockIo
impl Unpin for BlockIo
impl UnwindSafe for BlockIo
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