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 QuotaQuotaThresholds { /// Usage bytes at which notifications will be sent but writes will not be denied. #[serde(rename = "advisory")] pub advisory: Option<u64>, /// Usage bytes at which further writes will be denied. #[serde(rename = "hard")] pub hard: Option<u64>, /// Usage bytes at which notifications will be sent and soft grace time will be started. #[serde(rename = "soft")] pub soft: Option<u64>, /// Time in seconds after which the soft threshold has been hit before writes will be denied. #[serde(rename = "soft_grace")] pub soft_grace: Option<u64>, }