redfish_codegen/models/computer_system/v1_20_1/
boot_progress_types.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum BootProgressTypes {
6    /// This value shall indicate that the system is not booting or running, such as the system is powered off.
7    None,
8    /// This value shall indicate that the system has started to initialize the primary processor.
9    PrimaryProcessorInitializationStarted,
10    /// This value shall indicate that the system has started to initialize the buses.
11    BusInitializationStarted,
12    /// This value shall indicate that the system has started to initialize memory.
13    MemoryInitializationStarted,
14    /// This value shall indicate that the system has started to initialize the secondary processors.
15    SecondaryProcessorInitializationStarted,
16    /// This value shall indicate that the system has started to initialize PCI resources.
17    PCIResourceConfigStarted,
18    /// This value shall indicate that the system has completed initializing all hardware.
19    SystemHardwareInitializationComplete,
20    /// This value shall indicate that the system has entered the setup utility. Added in version v1_15_0.
21    SetupEntered,
22    /// This value shall indicate that the operating system has started to boot.
23    OSBootStarted,
24    /// This value shall indicate that the operating system is running and shall indicate the final boot progress state.
25    OSRunning,
26    /// This value shall indicate an OEM-defined boot progress state.
27    OEM,
28}
29
30#[allow(clippy::derivable_impls)]
31impl Default for BootProgressTypes {
32     fn default() -> BootProgressTypes {
33        BootProgressTypes::None
34     }
35}
36
37impl crate::Metadata<'static> for BootProgressTypes {
38    const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_1.json";
39}