Struct redfish_codegen::models::simple_storage::v1_3_1::SimpleStorage
source · pub struct SimpleStorage {Show 13 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: MustBeStr<((char<{ _ }>, S, i, m, p), (l, e, S, t, o, r), (a, g, e, char<{ _ }>, v, char<{ _ }>), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, S), (i, m, p, l, e, S), (t, o, r, a, g, e))>,
pub actions: Option<Actions>,
pub description: Option<Description>,
pub devices: Option<Vec<Device>>,
pub id: Id,
pub links: Option<Links>,
pub name: Name,
pub oem: Option<Oem>,
pub status: Option<Status>,
pub uefi_device_path: Option<String>,
}
Expand description
The SimpleStorage schema represents the properties of a storage controller and its directly-attached devices.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: MustBeStr<((char<{ _ }>, S, i, m, p), (l, e, S, t, o, r), (a, g, e, char<{ _ }>, v, char<{ _ }>), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, S), (i, m, p, l, e, S), (t, o, r, a, g, e))>
§actions: Option<Actions>
§description: Option<Description>
§devices: Option<Vec<Device>>
The storage devices.
id: Id
§links: Option<Links>
§name: Name
§oem: Option<Oem>
§status: Option<Status>
§uefi_device_path: Option<String>
The UEFI device path to access this storage controller.
Trait Implementations§
source§impl Clone for SimpleStorage
impl Clone for SimpleStorage
source§fn clone(&self) -> SimpleStorage
fn clone(&self) -> SimpleStorage
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 SimpleStorage
impl Debug for SimpleStorage
source§impl Default for SimpleStorage
impl Default for SimpleStorage
source§fn default() -> SimpleStorage
fn default() -> SimpleStorage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SimpleStorage
impl<'de> Deserialize<'de> for SimpleStorage
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