redfish_codegen/models/secure_boot/v1_1_0/
secure_boot_current_boot_type.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum SecureBootCurrentBootType {
6    /// UEFI Secure Boot is currently enabled.
7    Enabled,
8    /// UEFI Secure Boot is currently disabled.
9    Disabled,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for SecureBootCurrentBootType {
14     fn default() -> SecureBootCurrentBootType {
15        SecureBootCurrentBootType::Enabled
16     }
17}
18
19impl crate::Metadata<'static> for SecureBootCurrentBootType {
20    const JSON_SCHEMA: &'static str = "SecureBoot.v1_1_0.json";
21}