@@ -110,11 +110,19 @@ pub struct Toc {
110
110
pub co2e_intensity_wtw : WrappedDecimal ,
111
111
#[ serde( rename = "co2eIntensityTTW" ) ]
112
112
pub co2e_intensity_ttw : WrappedDecimal ,
113
- pub co2e_intensity_throughput : String ,
113
+ pub co2e_intensity_throughput : TocCo2eIntensityThroughput ,
114
114
#[ serde( skip_serializing_if = "Option::is_none" ) ]
115
115
pub glec_data_quality_index : Option < GlecDataQualityIndex > ,
116
116
}
117
117
118
+ #[ derive( Debug , Serialize , Deserialize , Clone , JsonSchema , PartialEq ) ]
119
+ #[ serde( rename_all = "camelCase" ) ]
120
+ pub enum TocCo2eIntensityThroughput {
121
+ #[ serde( rename = "TEUkm" ) ]
122
+ TEUkm ,
123
+ Tkm ,
124
+ }
125
+
118
126
#[ derive( Debug , Serialize , Deserialize , Clone , JsonSchema , PartialEq ) ]
119
127
#[ serde( rename_all = "camelCase" ) ]
120
128
pub enum TemperatureControl {
@@ -180,6 +188,14 @@ pub struct Hoc {
180
188
pub co2e_intensity_throughput : String ,
181
189
}
182
190
191
+ #[ derive( Debug , Serialize , Deserialize , Clone , JsonSchema , PartialEq ) ]
192
+ #[ serde( rename_all = "camelCase" ) ]
193
+ pub enum HocCo2eIntensityThroughput {
194
+ #[ serde( rename = "TEU" ) ]
195
+ TEU ,
196
+ Tonnes ,
197
+ }
198
+
183
199
#[ derive( Debug , Serialize , Deserialize , JsonSchema , PartialEq , Clone ) ]
184
200
#[ serde( rename_all = "camelCase" ) ]
185
201
pub enum HubType {
0 commit comments