pub struct ZoneMeta<'a> {
pub lat: f64,
pub lon: f64,
pub commentary: &'a str,
/* private fields */
}Expand description
Metadata about a timezone: associated countries and principal coordinates.
Fields§
§lat: f64Latitude of the principal location (degrees, north positive).
lon: f64Longitude of the principal location (degrees, east positive).
commentary: &'a strOptional commentary (e.g. a region description); empty if none.
Implementations§
Trait Implementations§
impl<'a> Copy for ZoneMeta<'a>
Source§impl<'a> PartialEq for ZoneMeta<'a>
impl<'a> PartialEq for ZoneMeta<'a>
impl<'a> StructuralPartialEq for ZoneMeta<'a>
Auto Trait Implementations§
impl<'a> Freeze for ZoneMeta<'a>
impl<'a> RefUnwindSafe for ZoneMeta<'a>
impl<'a> Send for ZoneMeta<'a>
impl<'a> Sync for ZoneMeta<'a>
impl<'a> Unpin for ZoneMeta<'a>
impl<'a> UnsafeUnpin for ZoneMeta<'a>
impl<'a> UnwindSafe for ZoneMeta<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more