redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
// Generated by redfish-codegen. Do not modify.


#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum AutoVolumeCreate {
    /// Do not automatically create volumes.
    Disabled,
    /// Automatically create non-RAID volumes.
    NonRAID,
    /// Automatically create RAID0 volumes.
    RAID0,
    /// Automatically create RAID1 volumes.
    RAID1,
}

#[allow(clippy::derivable_impls)]
impl Default for AutoVolumeCreate {
     fn default() -> AutoVolumeCreate {
        AutoVolumeCreate::Disabled
     }
}

impl crate::Metadata<'static> for AutoVolumeCreate {
    const JSON_SCHEMA: &'static str = "Storage.v1_15_0.json";
}