redfish_codegen/models/volume/initialize_method.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum InitializeMethod {
6 /// The volume will be available for use immediately, with no preparation.
7 Skip,
8 /// The volume will be available for use immediately, with data erasure and preparation to happen as background tasks.
9 Background,
10 /// Data erasure and preparation tasks will complete before the volume is presented as available for use.
11 Foreground,
12}
13
14#[allow(clippy::derivable_impls)]
15impl Default for InitializeMethod {
16 fn default() -> InitializeMethod {
17 InitializeMethod::Skip
18 }
19}
20
21impl crate::Metadata<'static> for InitializeMethod {
22 const JSON_SCHEMA: &'static str = "Volume.json";
23}