Struct gregor::Utc
[−]
[src]
pub struct Utc;
The Coordinated Universal Time time time zone.
Trait Implementations
impl Debug for Utc
[src]
impl Eq for Utc
[src]
impl PartialEq for Utc
[src]
fn eq(&self, __arg_0: &Utc) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Copy for Utc
[src]
impl Clone for Utc
[src]
fn clone(&self) -> Utc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for Utc
[src]
impl UnambiguousTimeZone for Utc
[src]
fn to_unambiguous_timestamp(&self, d: &NaiveDateTime) -> UnixTimestamp
impl TimeZone for Utc
[src]
fn from_timestamp(&self, u: UnixTimestamp) -> NaiveDateTime
fn to_timestamp(
&self,
d: &NaiveDateTime
) -> Result<UnixTimestamp, LocalTimeConversionError>
&self,
d: &NaiveDateTime
) -> Result<UnixTimestamp, LocalTimeConversionError>