#[non_exhaustive]pub struct SnapshotCreateConfig {
pub snapshot_path: SafePath,
pub mem_file_path: SafePath,
pub snapshot_type: SnapshotType,
pub version: Option<String>,
}Expand description
Validated /snapshot/create PUT body.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.snapshot_path: SafePathValidated state-file output path.
mem_file_path: SafePathValidated memory-file output path.
snapshot_type: SnapshotTypeSnapshot type.
version: Option<String>Optional version override.
Trait Implementations§
Source§impl Clone for SnapshotCreateConfig
impl Clone for SnapshotCreateConfig
Source§fn clone(&self) -> SnapshotCreateConfig
fn clone(&self) -> SnapshotCreateConfig
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 SnapshotCreateConfig
impl Debug for SnapshotCreateConfig
Source§impl Serialize for SnapshotCreateConfig
impl Serialize for SnapshotCreateConfig
Auto Trait Implementations§
impl Freeze for SnapshotCreateConfig
impl RefUnwindSafe for SnapshotCreateConfig
impl Send for SnapshotCreateConfig
impl Sync for SnapshotCreateConfig
impl Unpin for SnapshotCreateConfig
impl UnsafeUnpin for SnapshotCreateConfig
impl UnwindSafe for SnapshotCreateConfig
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