Struct qapi_qmp::BlockdevAmendOptionsQcow2
source · [−]pub struct BlockdevAmendOptionsQcow2 {
pub encrypt: Option<QCryptoBlockAmendOptions>,
}Fields
encrypt: Option<QCryptoBlockAmendOptions>Trait Implementations
sourceimpl Clone for BlockdevAmendOptionsQcow2
impl Clone for BlockdevAmendOptionsQcow2
sourcefn clone(&self) -> BlockdevAmendOptionsQcow2
fn clone(&self) -> BlockdevAmendOptionsQcow2
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 BlockdevAmendOptionsQcow2
impl Debug for BlockdevAmendOptionsQcow2
sourceimpl Default for BlockdevAmendOptionsQcow2
impl Default for BlockdevAmendOptionsQcow2
sourcefn default() -> BlockdevAmendOptionsQcow2
fn default() -> BlockdevAmendOptionsQcow2
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for BlockdevAmendOptionsQcow2
impl<'de> Deserialize<'de> for BlockdevAmendOptionsQcow2
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 From<BlockdevAmendOptionsQcow2> for BlockdevAmendOptions
impl From<BlockdevAmendOptionsQcow2> for BlockdevAmendOptions
sourcefn from(val: BlockdevAmendOptionsQcow2) -> Self
fn from(val: BlockdevAmendOptionsQcow2) -> Self
Converts to this type from the input type.
sourceimpl<T: Into<QCryptoBlockAmendOptions>> From<T> for BlockdevAmendOptionsQcow2
impl<T: Into<QCryptoBlockAmendOptions>> From<T> for BlockdevAmendOptionsQcow2
sourceimpl Serialize for BlockdevAmendOptionsQcow2
impl Serialize for BlockdevAmendOptionsQcow2
Auto Trait Implementations
impl RefUnwindSafe for BlockdevAmendOptionsQcow2
impl Send for BlockdevAmendOptionsQcow2
impl Sync for BlockdevAmendOptionsQcow2
impl Unpin for BlockdevAmendOptionsQcow2
impl UnwindSafe for BlockdevAmendOptionsQcow2
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