pub struct BlockdevSnapshotSync {
pub device: Option<String>,
pub format: Option<String>,
pub mode: Option<NewImageMode>,
pub node_name: Option<String>,
pub snapshot_node_name: Option<String>,
pub snapshot_file: String,
}
Fields§
§device: Option<String>
§format: Option<String>
§mode: Option<NewImageMode>
§node_name: Option<String>
§snapshot_node_name: Option<String>
§snapshot_file: String
Trait Implementations§
Source§impl AsRef<BlockdevSnapshotSync> for BlockdevSnapshotSyncWrapper
impl AsRef<BlockdevSnapshotSync> for BlockdevSnapshotSyncWrapper
Source§fn as_ref(&self) -> &BlockdevSnapshotSync
fn as_ref(&self) -> &BlockdevSnapshotSync
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for BlockdevSnapshotSync
impl Clone for BlockdevSnapshotSync
Source§fn clone(&self) -> BlockdevSnapshotSync
fn clone(&self) -> BlockdevSnapshotSync
Returns a duplicate 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 BlockdevSnapshotSync
impl Debug for BlockdevSnapshotSync
Source§impl<'de> Deserialize<'de> for BlockdevSnapshotSync
impl<'de> Deserialize<'de> for BlockdevSnapshotSync
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<BlockdevSnapshotSync> for TransactionAction
impl From<BlockdevSnapshotSync> for TransactionAction
Source§fn from(val: BlockdevSnapshotSync) -> Self
fn from(val: BlockdevSnapshotSync) -> Self
Converts to this type from the input type.
Source§impl From<BlockdevSnapshotSync> for blockdev_snapshot_sync
impl From<BlockdevSnapshotSync> for blockdev_snapshot_sync
Source§fn from(val: BlockdevSnapshotSync) -> Self
fn from(val: BlockdevSnapshotSync) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BlockdevSnapshotSync
impl RefUnwindSafe for BlockdevSnapshotSync
impl Send for BlockdevSnapshotSync
impl Sync for BlockdevSnapshotSync
impl Unpin for BlockdevSnapshotSync
impl UnwindSafe for BlockdevSnapshotSync
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