Struct qapi_qmp::BlockdevCreateOptionsLUKS
source · pub struct BlockdevCreateOptionsLUKS {
pub base: QCryptoBlockCreateOptionsLUKS,
pub preallocation: Option<PreallocMode>,
pub file: BlockdevRef,
pub size: u64,
}
Fields§
§base: QCryptoBlockCreateOptionsLUKS
§preallocation: Option<PreallocMode>
§file: BlockdevRef
§size: u64
Trait Implementations§
source§impl Clone for BlockdevCreateOptionsLUKS
impl Clone for BlockdevCreateOptionsLUKS
source§fn clone(&self) -> BlockdevCreateOptionsLUKS
fn clone(&self) -> BlockdevCreateOptionsLUKS
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 BlockdevCreateOptionsLUKS
impl Debug for BlockdevCreateOptionsLUKS
source§impl<'de> Deserialize<'de> for BlockdevCreateOptionsLUKS
impl<'de> Deserialize<'de> for BlockdevCreateOptionsLUKS
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 From<BlockdevCreateOptionsLUKS> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsLUKS> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsLUKS) -> Self
fn from(val: BlockdevCreateOptionsLUKS) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for BlockdevCreateOptionsLUKS
impl Send for BlockdevCreateOptionsLUKS
impl Sync for BlockdevCreateOptionsLUKS
impl Unpin for BlockdevCreateOptionsLUKS
impl UnwindSafe for BlockdevCreateOptionsLUKS
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