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