redfish_codegen/models/log_entry/v1_15_0/cxl_entry_type.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum CXLEntryType {
6    /// A CXL Dynamic Capacity log entry.
7    DynamicCapacity,
8    /// A CXL informational log entry.
9    Informational,
10    /// A CXL warning log entry.
11    Warning,
12    /// A CXL failure log entry.
13    Failure,
14    /// A CXL fatal log entry.
15    Fatal,
16}
17
18#[allow(clippy::derivable_impls)]
19impl Default for CXLEntryType {
20     fn default() -> CXLEntryType {
21        CXLEntryType::DynamicCapacity
22     }
23}
24
25impl crate::Metadata<'static> for CXLEntryType {
26    const JSON_SCHEMA: &'static str = "LogEntry.v1_15_0.json";
27}