redfish_codegen/models/drive/v1_17_0/media_type.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum MediaType {
6 /// The drive media type is traditional magnetic platters.
7 HDD,
8 /// The drive media type is solid state or flash memory.
9 SSD,
10 /// The drive media type is shingled magnetic recording.
11 SMR,
12}
13
14#[allow(clippy::derivable_impls)]
15impl Default for MediaType {
16 fn default() -> MediaType {
17 MediaType::HDD
18 }
19}
20
21impl crate::Metadata<'static> for MediaType {
22 const JSON_SCHEMA: &'static str = "Drive.v1_17_0.json";
23}