use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct SnapshotCreateParams {
#[serde(rename = "mem_file_path")]
pub mem_file_path: String,
#[serde(rename = "snapshot_path")]
pub snapshot_path: String,
#[serde(rename = "snapshot_type", skip_serializing_if = "Option::is_none")]
pub snapshot_type: Option<SnapshotType>,
#[serde(rename = "version", skip_serializing_if = "Option::is_none")]
pub version: Option<String>,
}
#[derive(Debug, Clone, Copy, Deserialize, Serialize)]
pub enum SnapshotType {
#[serde(rename = "Full")]
Full,
#[serde(rename = "Diff")]
Diff,
}