Struct qapi_qmp::BlockdevSnapshotWrapper
source · #[repr(transparent)]pub struct BlockdevSnapshotWrapper {
pub data: BlockdevSnapshot,
}
Fields§
§data: BlockdevSnapshot
Implementations§
source§impl BlockdevSnapshotWrapper
impl BlockdevSnapshotWrapper
pub fn into_inner(self) -> BlockdevSnapshot
Trait Implementations§
source§impl AsRef<BlockdevSnapshot> for BlockdevSnapshotWrapper
impl AsRef<BlockdevSnapshot> for BlockdevSnapshotWrapper
source§fn as_ref(&self) -> &BlockdevSnapshot
fn as_ref(&self) -> &BlockdevSnapshot
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for BlockdevSnapshotWrapper
impl Clone for BlockdevSnapshotWrapper
source§fn clone(&self) -> BlockdevSnapshotWrapper
fn clone(&self) -> BlockdevSnapshotWrapper
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 BlockdevSnapshotWrapper
impl Debug for BlockdevSnapshotWrapper
source§impl Deref for BlockdevSnapshotWrapper
impl Deref for BlockdevSnapshotWrapper
source§impl<'de> Deserialize<'de> for BlockdevSnapshotWrapper
impl<'de> Deserialize<'de> for BlockdevSnapshotWrapper
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<BlockdevSnapshotWrapper> for TransactionAction
impl From<BlockdevSnapshotWrapper> for TransactionAction
source§fn from(val: BlockdevSnapshotWrapper) -> Self
fn from(val: BlockdevSnapshotWrapper) -> Self
Converts to this type from the input type.
source§impl<T: Into<BlockdevSnapshot>> From<T> for BlockdevSnapshotWrapper
impl<T: Into<BlockdevSnapshot>> From<T> for BlockdevSnapshotWrapper
Auto Trait Implementations§
impl Freeze for BlockdevSnapshotWrapper
impl RefUnwindSafe for BlockdevSnapshotWrapper
impl Send for BlockdevSnapshotWrapper
impl Sync for BlockdevSnapshotWrapper
impl Unpin for BlockdevSnapshotWrapper
impl UnwindSafe for BlockdevSnapshotWrapper
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
)