Struct qapi_qmp::DirtyRateInfo
source · pub struct DirtyRateInfo {
pub dirty_rate: Option<i64>,
pub vcpu_dirty_rate: Option<Vec<DirtyRateVcpu>>,
pub calc_time: i64,
pub calc_time_unit: TimeUnit,
pub mode: DirtyRateMeasureMode,
pub sample_pages: u64,
pub start_time: i64,
pub status: DirtyRateStatus,
}
Fields§
§dirty_rate: Option<i64>
§vcpu_dirty_rate: Option<Vec<DirtyRateVcpu>>
§calc_time: i64
§calc_time_unit: TimeUnit
§mode: DirtyRateMeasureMode
§sample_pages: u64
§start_time: i64
§status: DirtyRateStatus
Trait Implementations§
source§impl Clone for DirtyRateInfo
impl Clone for DirtyRateInfo
source§fn clone(&self) -> DirtyRateInfo
fn clone(&self) -> DirtyRateInfo
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 DirtyRateInfo
impl Debug for DirtyRateInfo
source§impl<'de> Deserialize<'de> for DirtyRateInfo
impl<'de> Deserialize<'de> for DirtyRateInfo
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
Auto Trait Implementations§
impl Freeze for DirtyRateInfo
impl RefUnwindSafe for DirtyRateInfo
impl Send for DirtyRateInfo
impl Sync for DirtyRateInfo
impl Unpin for DirtyRateInfo
impl UnwindSafe for DirtyRateInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)