1 2 3 4 5 6 7 8 9 10 11 12
#[allow(unused_imports)] use serde_json::Value; #[derive(Debug, Serialize, Deserialize)] pub struct SnapshotLockCreateParams { /// The Unix Epoch time the snapshot lock will expire and be eligible for automatic deletion. #[serde(rename = "expires")] pub expires: Option<i32>, /// Free form comment. #[serde(rename = "comment")] pub comment: Option<String>, }