[−][src]Struct tzparse::Tzinfo
Convenient and human-readable informations about a timezone.
Fields
utc_datetime: DateTime<Utc>
UTC time
datetime: DateTime<FixedOffset>
Local time
dst_from: Option<DateTime<Utc>>
Start of DST period
dst_until: Option<DateTime<Utc>>
End of DST period
dst_period: bool
Are we in DST period ?
raw_offset: isize
Normal offset to GMT, in seconds
dst_offset: isize
DST offset to GMT, in seconds
utc_offset: FixedOffset
current offset to GMT, in +/-HH:MM
abbreviation: String
Timezone abbreviation
Trait Implementations
impl Clone for Tzinfo
[src]
impl Debug for Tzinfo
[src]
impl Eq for Tzinfo
[src]
impl PartialEq<Tzinfo> for Tzinfo
[src]
impl StructuralEq for Tzinfo
[src]
impl StructuralPartialEq for Tzinfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for Tzinfo
impl Send for Tzinfo
impl Sync for Tzinfo
impl Unpin for Tzinfo
impl UnwindSafe for Tzinfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,