pub struct RawSnapshotCreateConfig {
pub snapshot_path: String,
pub mem_file_path: String,
pub snapshot_type: SnapshotType,
pub version: Option<String>,
}Expand description
Raw /snapshot/create PUT body off the wire.
Fields§
§snapshot_path: StringOutput path for the state file (<id>.snap).
mem_file_path: StringOutput path for the memory file (<id>.mem).
snapshot_type: SnapshotTypeSnapshot type (Full or Diff).
version: Option<String>Optional version override (currently ignored; we follow upstream version).
Trait Implementations§
Source§impl Clone for RawSnapshotCreateConfig
impl Clone for RawSnapshotCreateConfig
Source§fn clone(&self) -> RawSnapshotCreateConfig
fn clone(&self) -> RawSnapshotCreateConfig
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 RawSnapshotCreateConfig
impl Debug for RawSnapshotCreateConfig
Source§impl<'de> Deserialize<'de> for RawSnapshotCreateConfig
impl<'de> Deserialize<'de> for RawSnapshotCreateConfig
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 RawSnapshotCreateConfig
impl RefUnwindSafe for RawSnapshotCreateConfig
impl Send for RawSnapshotCreateConfig
impl Sync for RawSnapshotCreateConfig
impl Unpin for RawSnapshotCreateConfig
impl UnsafeUnpin for RawSnapshotCreateConfig
impl UnwindSafe for RawSnapshotCreateConfig
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