pub struct Utc;
Expand description
The Coordinated Universal Time time time zone.
Trait Implementations§
Source§impl TimeZone for Utc
impl TimeZone for Utc
fn from_timestamp(&self, u: UnixTimestamp) -> NaiveDateTime
fn to_timestamp( &self, d: &NaiveDateTime, ) -> Result<UnixTimestamp, LocalTimeConversionError>
Source§impl UnambiguousTimeZone for Utc
impl UnambiguousTimeZone for Utc
fn to_unambiguous_timestamp(&self, d: &NaiveDateTime) -> UnixTimestamp
impl Copy for Utc
impl Eq for Utc
impl StructuralPartialEq for Utc
Auto Trait Implementations§
impl Freeze for Utc
impl RefUnwindSafe for Utc
impl Send for Utc
impl Sync for Utc
impl Unpin for Utc
impl UnwindSafe for Utc
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