Struct qapi_qmp::BlockStats
source · pub struct BlockStats {
pub backing: Option<Box<BlockStats>>,
pub device: Option<String>,
pub driver_specific: Option<BlockStatsSpecific>,
pub node_name: Option<String>,
pub parent: Option<Box<BlockStats>>,
pub qdev: Option<String>,
pub stats: BlockDeviceStats,
}
Fields§
§backing: Option<Box<BlockStats>>
§device: Option<String>
§driver_specific: Option<BlockStatsSpecific>
§node_name: Option<String>
§parent: Option<Box<BlockStats>>
§qdev: Option<String>
§stats: BlockDeviceStats
Trait Implementations§
source§impl Clone for BlockStats
impl Clone for BlockStats
source§fn clone(&self) -> BlockStats
fn clone(&self) -> BlockStats
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 BlockStats
impl Debug for BlockStats
source§impl<'de> Deserialize<'de> for BlockStats
impl<'de> Deserialize<'de> for BlockStats
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 RefUnwindSafe for BlockStats
impl Send for BlockStats
impl Sync for BlockStats
impl Unpin for BlockStats
impl UnwindSafe for BlockStats
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