redfish_codegen/models/facility/v1_4_0/
facility_type.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum FacilityType {
6    /// A room inside of a building or floor.
7    Room,
8    /// A floor inside of a building.
9    Floor,
10    /// A structure with a roof and walls.
11    Building,
12    /// A small area consisting of several buildings.
13    Site,
14}
15
16#[allow(clippy::derivable_impls)]
17impl Default for FacilityType {
18     fn default() -> FacilityType {
19        FacilityType::Room
20     }
21}
22
23impl crate::Metadata<'static> for FacilityType {
24    const JSON_SCHEMA: &'static str = "Facility.v1_4_0.json";
25}