redfish_codegen/models/processor/v1_18_0/
fpga_type.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum FpgaType {
6    /// The FPGA device integrated with other processor in the single chip.
7    Integrated,
8    /// The discrete FPGA device.
9    Discrete,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for FpgaType {
14     fn default() -> FpgaType {
15        FpgaType::Integrated
16     }
17}
18
19impl crate::Metadata<'static> for FpgaType {
20    const JSON_SCHEMA: &'static str = "Processor.v1_18_0.json";
21}