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 WormCreateParams { /// Specifies whether to commit the file to a WORM state after the retention date is set. #[serde(rename = "commit_to_worm")] pub commit_to_worm: Option<bool>, /// Specifies the retention expiration date string in Coordinated Universal Time (UTC/GMT). #[serde(rename = "worm_retention_date")] pub worm_retention_date: Option<String>, }