Struct qapi_qmp::BlockIOThrottle
source · [−]pub struct BlockIOThrottle {Show 22 fields
pub bps_max: Option<i64>,
pub bps_max_length: Option<i64>,
pub bps_rd_max: Option<i64>,
pub bps_rd_max_length: Option<i64>,
pub bps_wr_max: Option<i64>,
pub bps_wr_max_length: Option<i64>,
pub device: Option<String>,
pub group: Option<String>,
pub id: Option<String>,
pub iops_max: Option<i64>,
pub iops_max_length: Option<i64>,
pub iops_rd_max: Option<i64>,
pub iops_rd_max_length: Option<i64>,
pub iops_size: Option<i64>,
pub iops_wr_max: Option<i64>,
pub iops_wr_max_length: Option<i64>,
pub bps: i64,
pub bps_rd: i64,
pub bps_wr: i64,
pub iops: i64,
pub iops_rd: i64,
pub iops_wr: i64,
}Fields
bps_max: Option<i64>bps_max_length: Option<i64>bps_rd_max: Option<i64>bps_rd_max_length: Option<i64>bps_wr_max: Option<i64>bps_wr_max_length: Option<i64>device: Option<String>👎Deprecated
group: Option<String>id: Option<String>iops_max: Option<i64>iops_max_length: Option<i64>iops_rd_max: Option<i64>iops_rd_max_length: Option<i64>iops_size: Option<i64>iops_wr_max: Option<i64>iops_wr_max_length: Option<i64>bps: i64bps_rd: i64bps_wr: i64iops: i64iops_rd: i64iops_wr: i64Trait Implementations
sourceimpl Clone for BlockIOThrottle
impl Clone for BlockIOThrottle
sourcefn clone(&self) -> BlockIOThrottle
fn clone(&self) -> BlockIOThrottle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for BlockIOThrottle
impl Debug for BlockIOThrottle
sourceimpl<'de> Deserialize<'de> for BlockIOThrottle
impl<'de> Deserialize<'de> for BlockIOThrottle
sourcefn 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
sourceimpl From<BlockIOThrottle> for block_set_io_throttle
impl From<BlockIOThrottle> for block_set_io_throttle
sourcefn from(val: BlockIOThrottle) -> Self
fn from(val: BlockIOThrottle) -> Self
Converts to this type from the input type.
sourceimpl Serialize for BlockIOThrottle
impl Serialize for BlockIOThrottle
Auto Trait Implementations
impl RefUnwindSafe for BlockIOThrottle
impl Send for BlockIOThrottle
impl Sync for BlockIOThrottle
impl Unpin for BlockIOThrottle
impl UnwindSafe for BlockIOThrottle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more