pub struct CapacityRange {
pub limit_bytes: Option<i64>,
pub required_bytes: Option<i64>,
}
Available on crate feature
v5
only.Expand description
CapacityRange describes the minimum and maximum capacity a volume should be created with
Fields§
§limit_bytes: Option<i64>
LimitBytes specifies that a volume must not be bigger than this. The value of 0 indicates an unspecified maximum
required_bytes: Option<i64>
RequiredBytes specifies that a volume must be at least this big. The value of 0 indicates an unspecified minimum.
Trait Implementations§
Source§impl Debug for CapacityRange
impl Debug for CapacityRange
Source§impl Default for CapacityRange
impl Default for CapacityRange
Source§fn default() -> CapacityRange
fn default() -> CapacityRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CapacityRange
impl<'de> Deserialize<'de> for CapacityRange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CapacityRange
impl RefUnwindSafe for CapacityRange
impl Send for CapacityRange
impl Sync for CapacityRange
impl Unpin for CapacityRange
impl UnwindSafe for CapacityRange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more