Struct qapi_qmp::BlockdevOptionsRaw
source · pub struct BlockdevOptionsRaw {
pub base: BlockdevOptionsGenericFormat,
pub offset: Option<i64>,
pub size: Option<i64>,
}
Fields§
§base: BlockdevOptionsGenericFormat
§offset: Option<i64>
§size: Option<i64>
Trait Implementations§
source§impl AsRef<BlockdevOptionsGenericFormat> for BlockdevOptionsRaw
impl AsRef<BlockdevOptionsGenericFormat> for BlockdevOptionsRaw
source§fn as_ref(&self) -> &BlockdevOptionsGenericFormat
fn as_ref(&self) -> &BlockdevOptionsGenericFormat
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for BlockdevOptionsRaw
impl Clone for BlockdevOptionsRaw
source§fn clone(&self) -> BlockdevOptionsRaw
fn clone(&self) -> BlockdevOptionsRaw
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 BlockdevOptionsRaw
impl Debug for BlockdevOptionsRaw
source§impl<'de> Deserialize<'de> for BlockdevOptionsRaw
impl<'de> Deserialize<'de> for BlockdevOptionsRaw
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
source§impl<T: Into<BlockdevOptionsGenericFormat>> From<T> for BlockdevOptionsRaw
impl<T: Into<BlockdevOptionsGenericFormat>> From<T> for BlockdevOptionsRaw
Auto Trait Implementations§
impl RefUnwindSafe for BlockdevOptionsRaw
impl Send for BlockdevOptionsRaw
impl Sync for BlockdevOptionsRaw
impl Unpin for BlockdevOptionsRaw
impl UnwindSafe for BlockdevOptionsRaw
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