File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ pub mod models {
131
131
/// A time zone containing a time zone ID and optional offset.
132
132
#[ derive( Debug , PartialEq , Eq ) ]
133
133
#[ non_exhaustive]
134
- pub enum Base { }
134
+ pub struct Base ;
135
135
136
136
impl private:: Sealed for Base { }
137
137
impl TimeZoneModel for Base {
@@ -142,7 +142,7 @@ pub mod models {
142
142
/// A time zone containing a time zone ID, optional offset, and local time.
143
143
#[ derive( Debug , PartialEq , Eq ) ]
144
144
#[ non_exhaustive]
145
- pub enum AtTime { }
145
+ pub struct AtTime ;
146
146
147
147
impl private:: Sealed for AtTime { }
148
148
impl TimeZoneModel for AtTime {
@@ -153,7 +153,7 @@ pub mod models {
153
153
/// A time zone containing a time zone ID, optional offset, local time, and zone variant.
154
154
#[ derive( Debug , PartialEq , Eq ) ]
155
155
#[ non_exhaustive]
156
- pub enum Full { }
156
+ pub struct Full ;
157
157
158
158
impl private:: Sealed for Full { }
159
159
impl TimeZoneModel for Full {
Original file line number Diff line number Diff line change @@ -76,9 +76,9 @@ pub mod ffi {
76
76
77
77
#[ diplomat:: opaque]
78
78
#[ diplomat:: rust_link( icu:: time:: TimeZoneInfo , Struct ) ]
79
- #[ diplomat:: rust_link( icu:: time:: zone:: models:: AtTime , Enum , hidden) ]
80
- #[ diplomat:: rust_link( icu:: time:: zone:: models:: Base , Enum , hidden) ]
81
- #[ diplomat:: rust_link( icu:: time:: zone:: models:: Full , Enum , hidden) ]
79
+ #[ diplomat:: rust_link( icu:: time:: zone:: models:: AtTime , Struct , hidden) ]
80
+ #[ diplomat:: rust_link( icu:: time:: zone:: models:: Base , Struct , hidden) ]
81
+ #[ diplomat:: rust_link( icu:: time:: zone:: models:: Full , Struct , hidden) ]
82
82
pub struct TimeZoneInfo {
83
83
pub ( crate ) time_zone_id : icu_time:: TimeZone ,
84
84
pub ( crate ) offset : Option < icu_time:: zone:: UtcOffset > ,
You can’t perform that action at this time.
0 commit comments