pub struct SnapshotSpec {
pub source_sandbox: String,
pub destination: SnapshotDestination,
pub labels: Vec<(String, String)>,
pub force: bool,
pub record_integrity: bool,
}Expand description
Inputs to create a snapshot.
Fields§
§source_sandbox: StringName of the source sandbox. Must be stopped.
destination: SnapshotDestinationWhere to write the artifact.
labels: Vec<(String, String)>User-supplied labels.
force: boolOverwrite an existing artifact at the destination.
record_integrity: boolCompute and record upper-layer content integrity at creation time.
Trait Implementations§
Source§impl Clone for SnapshotSpec
impl Clone for SnapshotSpec
Source§fn clone(&self) -> SnapshotSpec
fn clone(&self) -> SnapshotSpec
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 SnapshotSpec
impl Debug for SnapshotSpec
Source§impl<'de> Deserialize<'de> for SnapshotSpec
impl<'de> Deserialize<'de> for SnapshotSpec
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 SnapshotSpec
impl RefUnwindSafe for SnapshotSpec
impl Send for SnapshotSpec
impl Sync for SnapshotSpec
impl Unpin for SnapshotSpec
impl UnsafeUnpin for SnapshotSpec
impl UnwindSafe for SnapshotSpec
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