Enum redfish_codegen::models::capacity::CapacitySource
source · pub enum CapacitySource {
IdRef(IdRef),
V1_0_4(CapacitySource),
V1_1_3(CapacitySource),
V1_2_0(CapacitySource),
}
Expand description
A description of the type and source of storage.
Variants§
Trait Implementations§
source§impl Clone for CapacitySource
impl Clone for CapacitySource
source§fn clone(&self) -> CapacitySource
fn clone(&self) -> CapacitySource
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 CapacitySource
impl Debug for CapacitySource
source§impl Default for CapacitySource
impl Default for CapacitySource
source§fn default() -> CapacitySource
fn default() -> CapacitySource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CapacitySource
impl<'de> Deserialize<'de> for CapacitySource
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