pub struct CnsSnapshotCreateSpec {
pub volume_id: CnsVolumeId,
pub description: String,
}Expand description
Specifications for snapshot creation operation.
Create snapshot with given description.
This structure may be used only with operations rendered under /vsan.
§How to access
CnsVolumeManager::cns_create_snapshots(snapshot_specs)
Fields§
§volume_id: CnsVolumeIdUnique identifier for the volume.
description: StringUser description of this snapshot.
CNS server does not enforce uniqueness of snapshot description
Trait Implementations§
Source§impl Debug for CnsSnapshotCreateSpec
impl Debug for CnsSnapshotCreateSpec
Source§impl Deserialize for CnsSnapshotCreateSpec
impl Deserialize for CnsSnapshotCreateSpec
Source§impl VimObjectTrait for CnsSnapshotCreateSpec
impl VimObjectTrait for CnsSnapshotCreateSpec
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for CnsSnapshotCreateSpec
Auto Trait Implementations§
impl Freeze for CnsSnapshotCreateSpec
impl RefUnwindSafe for CnsSnapshotCreateSpec
impl Send for CnsSnapshotCreateSpec
impl Sync for CnsSnapshotCreateSpec
impl Unpin for CnsSnapshotCreateSpec
impl UnsafeUnpin for CnsSnapshotCreateSpec
impl UnwindSafe for CnsSnapshotCreateSpec
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