pub struct Timezone {
pub id: usize,
pub objectid: u64,
pub friendly_name: Option<String>,
pub description: String,
pub dst_description: Option<String>,
pub offset_str: String,
pub zone_num: Option<i64>,
pub zone_str: String,
pub raw_offset: i64,
pub bbox: Rect,
pub geometry: Geometry,
}Expand description
A representation of the Natural Earth Data
geojson
geojson::Features.
Fields§
§id: usizeThe index of the Timezone in the global static cache.
objectid: u64The objectid of the Timezone.
friendly_name: Option<String>The friendly_name of the Timezone (e.g., America/Los_Angeles).
description: StringThe description of the Timezone (e.g., the countries affected).
dst_description: Option<String>The dst_description of the Timezone (i.e., daylight savings time information).
offset_str: StringThe offset_str of the Timezone (e.g., UTC-8:00).
zone_num: Option<i64>The zone_num of the Timezone (e.g., -8).
zone_str: StringThe zone_str of the Timezone (e.g., "-9.5").
raw_offset: i64The raw_offset of the Timezone (e.g., -28800).
bbox: RectThe bounding box of the Timezone.
geometry: GeometryThe geometry of the Timezone.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Timezone
impl<'de> Deserialize<'de> for Timezone
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Timezone
impl Send for Timezone
impl Sync for Timezone
impl Unpin for Timezone
impl UnwindSafe for Timezone
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