pub struct Utc;Implementations§
Trait Implementations§
impl Copy for Utc
impl Eq for Utc
impl StructuralPartialEq for Utc
Source§impl TimeZone for Utc
impl TimeZone for Utc
type Offset = FixedOffset
fn from_offset(_offset: &Self::Offset) -> Self
fn offset_from_local_date( &self, _local: &NaiveDate, ) -> LocalResult<Self::Offset>
fn offset_from_local_datetime( &self, _local: &NaiveDateTime, ) -> LocalResult<Self::Offset>
fn offset_from_utc_date(&self, _utc: &NaiveDate) -> Self::Offset
fn offset_from_utc_datetime(&self, _utc: &NaiveDateTime) -> Self::Offset
fn from_utc_datetime(&self, utc: &NaiveDateTime) -> DateTime<Self>
Auto Trait Implementations§
impl Freeze for Utc
impl RefUnwindSafe for Utc
impl Send for Utc
impl Sync for Utc
impl Unpin for Utc
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.