redfish_codegen/models/outlet/receptacle_type.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum ReceptacleType {
6 /// This value shall represent a receptacle that matches the NEMA specified 5-15 receptacle (120V; 15A). The current is commonly de-rated to 12A if it is protected by a 15A breaker.
7 #[serde(rename = "NEMA_5_15R")]
8 NEMA515R,
9 /// This value shall represent a receptacle that matches the NEMA specified 5-20 receptacle that exhibits a T-slot (120V; 20A). The current is commonly de-rated to 16A if it is protected by a 20A breaker.
10 #[serde(rename = "NEMA_5_20R")]
11 NEMA520R,
12 /// This value shall represent a receptacle that matches the NEMA specified locking L5-20 receptacle (120V; 20A). The current is commonly de-rated to 16A if it is protected by a 20A breaker.
13 #[serde(rename = "NEMA_L5_20R")]
14 NEMAL520R,
15 /// This value shall represent a receptacle that matches the NEMA specified locking L5-30 receptacle (120V; 30A). The current is commonly de-rated to 24A if it is protected by a 30A breaker.
16 #[serde(rename = "NEMA_L5_30R")]
17 NEMAL530R,
18 /// This value shall represent a receptacle that matches the NEMA specified locking L6-20 receptacle (250V; 20A). The current is commonly de-rated to 16A if it is protected by a 20A breaker.
19 #[serde(rename = "NEMA_L6_20R")]
20 NEMAL620R,
21 /// This value shall represent a receptacle that matches the NEMA specified locking L6-30 receptacle (250V; 30A). The current is commonly de-rated to 24A if it is protected by a 30A breaker.
22 #[serde(rename = "NEMA_L6_30R")]
23 NEMAL630R,
24 /// This value shall represent a receptacle that matches the IEC 60320 Sheet F C13 specified receptacle (250V; 10A per IEC, 15A per UL).
25 #[serde(rename = "IEC_60320_C13")]
26 IEC60320C13,
27 /// This value shall represent a receptacle that matches the IEC 60320 Sheet J C19 specified receptacle (250V; 16A per IEC, 20A per UL).
28 #[serde(rename = "IEC_60320_C19")]
29 IEC60320C19,
30 /// This value shall represent a receptacle that matches the French specified CEE 7/7 Type E receptacle (250V; 16A).
31 #[serde(rename = "CEE_7_Type_E")]
32 CEE7TypeE,
33 /// This value shall represent a receptacle that matches the Schuko specified CEE 7/7 Type F receptacle (250V; 16A).
34 #[serde(rename = "CEE_7_Type_F")]
35 CEE7TypeF,
36 /// This value shall represent a receptacle that matches the SEV 1011 specified Type 12 receptacle (250V; 10A).
37 #[serde(rename = "SEV_1011_TYPE_12")]
38 SEV1011TYPE12,
39 /// This value shall represent a receptacle that matches the SEV 1011 specified Type 23 receptacle (250V; 16A).
40 #[serde(rename = "SEV_1011_TYPE_23")]
41 SEV1011TYPE23,
42 /// This value shall represent a receptacle that matches the British BS 1363 Type G receptacle (250V; 13A).
43 #[serde(rename = "BS_1363_Type_G")]
44 BS1363TypeG,
45 /// This value shall represent a direct connection to an electrical bus. Added in version v1_3_0.
46 BusConnection,
47}
48
49#[allow(clippy::derivable_impls)]
50impl Default for ReceptacleType {
51 fn default() -> ReceptacleType {
52 ReceptacleType::NEMA515R
53 }
54}
55
56impl crate::Metadata<'static> for ReceptacleType {
57 const JSON_SCHEMA: &'static str = "Outlet.json";
58}