redfish_codegen/models/storage_controller/v1_7_0/
nvme_controller_type.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum NVMeControllerType {
6    /// The NVMe controller is an admin controller.
7    Admin,
8    /// The NVMe controller is a discovery controller.
9    Discovery,
10    /// The NVMe controller is an IO controller.
11    IO,
12}
13
14#[allow(clippy::derivable_impls)]
15impl Default for NVMeControllerType {
16     fn default() -> NVMeControllerType {
17        NVMeControllerType::Admin
18     }
19}
20
21impl crate::Metadata<'static> for NVMeControllerType {
22    const JSON_SCHEMA: &'static str = "StorageController.v1_7_0.json";
23}