redfish_codegen/models/volume/
initialize_type.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum InitializeType {
6    /// The volume is prepared for use quickly, typically by erasing just the beginning and end of the space so that partitioning can be performed.
7    Fast,
8    /// The volume is prepared for use slowly, typically by completely erasing the volume.
9    Slow,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for InitializeType {
14     fn default() -> InitializeType {
15        InitializeType::Fast
16     }
17}
18
19impl crate::Metadata<'static> for InitializeType {
20    const JSON_SCHEMA: &'static str = "Volume.json";
21}