pub trait Offset:
Sized
+ Clone
+ Debug {
// Required method
fn fix(&self) -> FixedOffset;
}
Expand description
The offset from the local time to UTC.
Required Methods§
sourcefn fix(&self) -> FixedOffset
fn fix(&self) -> FixedOffset
Returns the fixed offset from UTC to the local time stored.
Object Safety§
This trait is not object safe.