Struct podman_rest_client::models::CapacityRange  
source · pub struct CapacityRange {
    pub limit_bytes: Option<i64>,
    pub required_bytes: Option<i64>,
}Expand description
CapacityRange : 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.
Implementations§
source§impl CapacityRange
 
impl CapacityRange
sourcepub fn new() -> CapacityRange
 
pub fn new() -> CapacityRange
CapacityRange describes the minimum and maximum capacity a volume should be created with
Trait Implementations§
source§impl Clone for CapacityRange
 
impl Clone for CapacityRange
source§fn clone(&self) -> CapacityRange
 
fn clone(&self) -> CapacityRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§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<CapacityRange, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<CapacityRange, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CapacityRange
 
impl PartialEq for CapacityRange
source§fn eq(&self, other: &CapacityRange) -> bool
 
fn eq(&self, other: &CapacityRange) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for CapacityRange
 
impl Serialize for CapacityRange
source§fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CapacityRange
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)