pub struct SimpleStorage {Show 13 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: Type,
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: Type
§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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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§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
Source§impl Metadata<'static> for SimpleStorage
impl Metadata<'static> for SimpleStorage
Source§const JSON_SCHEMA: &'static str = "SimpleStorage.v1_3_1.json"
const JSON_SCHEMA: &'static str = "SimpleStorage.v1_3_1.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for SimpleStorage
impl RefUnwindSafe for SimpleStorage
impl Send for SimpleStorage
impl Sync for SimpleStorage
impl Unpin for SimpleStorage
impl UnwindSafe for SimpleStorage
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