1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#[allow(unused_imports)] use serde_json::Value; #[derive(Debug, Serialize, Deserialize)] pub struct SnapshotLockExtended { /// User supplied lock comment. #[serde(rename = "comment")] pub comment: Option<String>, /// Recursive lock count. #[serde(rename = "count")] pub count: Option<i32>, /// The Unix Epoch time the snapshot lock will expire and be eligible for automatic deletion. #[serde(rename = "expires")] pub expires: Option<i32>, /// System generated lock ID. #[serde(rename = "id")] pub id: Option<i32>, }