1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};
#[derive(Default, Debug, Serialize, Deserialize)]
/// CapacityRange describes the minimum and maximum capacity a volume should be
/// created with
pub struct CapacityRange {
    /// LimitBytes specifies that a volume must not be bigger than this. The
    /// value of 0 indicates an unspecified maximum
    #[serde(rename = "LimitBytes")]
    pub limit_bytes: Option<i64>,
    /// RequiredBytes specifies that a volume must be at least this big. The
    /// value of 0 indicates an unspecified minimum.
    #[serde(rename = "RequiredBytes")]
    pub required_bytes: Option<i64>,
}