podman_rest_client/v5/models/
capacity_range.rs

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