pub struct CloudSnapshotSpec {
pub sandbox_id: String,
pub name: String,
pub dest_dir: Option<PathBuf>,
pub labels: BTreeMap<String, String>,
pub force: bool,
pub record_integrity: bool,
}Expand description
Settings shared by every cloud snapshot capture kind.
Fields§
§sandbox_id: StringImmutable identifier of the sandbox to capture.
name: StringSnapshot name.
dest_dir: Option<PathBuf>Directory on a mounted host volume to write the artifact into. None
stores the snapshot in managed snapshot storage.
labels: BTreeMap<String, String>User-defined labels stored on the snapshot.
force: boolReplace an existing snapshot with the same name.
record_integrity: boolRecord payload integrity metadata during capture.
Trait Implementations§
Source§impl Clone for CloudSnapshotSpec
impl Clone for CloudSnapshotSpec
Source§fn clone(&self) -> CloudSnapshotSpec
fn clone(&self) -> CloudSnapshotSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CloudSnapshotSpec
impl Debug for CloudSnapshotSpec
Source§impl<'de> Deserialize<'de> for CloudSnapshotSpec
impl<'de> Deserialize<'de> for CloudSnapshotSpec
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
Auto Trait Implementations§
impl Freeze for CloudSnapshotSpec
impl RefUnwindSafe for CloudSnapshotSpec
impl Send for CloudSnapshotSpec
impl Sync for CloudSnapshotSpec
impl Unpin for CloudSnapshotSpec
impl UnsafeUnpin for CloudSnapshotSpec
impl UnwindSafe for CloudSnapshotSpec
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