Struct qapi_qmp::CompressionStats
source · [−]pub struct CompressionStats {
pub pages: i32,
pub compressed_size: i32,
pub busy_rate: f64,
pub busy: i32,
pub compression_rate: f64,
}Fields
pages: i32compressed_size: i32busy_rate: f64busy: i32compression_rate: f64Trait Implementations
sourceimpl Clone for CompressionStats
impl Clone for CompressionStats
sourcefn clone(&self) -> CompressionStats
fn clone(&self) -> CompressionStats
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 more
sourceimpl Debug for CompressionStats
impl Debug for CompressionStats
sourceimpl<'de> Deserialize<'de> for CompressionStats
impl<'de> Deserialize<'de> for CompressionStats
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 Serialize for CompressionStats
impl Serialize for CompressionStats
Auto Trait Implementations
impl RefUnwindSafe for CompressionStats
impl Send for CompressionStats
impl Sync for CompressionStats
impl Unpin for CompressionStats
impl UnwindSafe for CompressionStats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more