pub struct FixedOffset { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for FixedOffset
impl Clone for FixedOffset
Source§fn clone(&self) -> FixedOffset
fn clone(&self) -> FixedOffset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FixedOffset
Source§impl Debug for FixedOffset
impl Debug for FixedOffset
Source§impl Display for FixedOffset
impl Display for FixedOffset
impl Eq for FixedOffset
Source§impl Hash for FixedOffset
impl Hash for FixedOffset
Source§impl Offset for FixedOffset
impl Offset for FixedOffset
fn fix(&self) -> FixedOffset
Source§impl PartialEq for FixedOffset
impl PartialEq for FixedOffset
Source§fn eq(&self, other: &FixedOffset) -> bool
fn eq(&self, other: &FixedOffset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FixedOffset
Source§impl TimeZone for FixedOffset
impl TimeZone for FixedOffset
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 FixedOffset
impl RefUnwindSafe for FixedOffset
impl Send for FixedOffset
impl Sync for FixedOffset
impl Unpin for FixedOffset
impl UnsafeUnpin for FixedOffset
impl UnwindSafe for FixedOffset
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<T> Colorize for Twhere
T: Display,
impl<T> Colorize for Twhere
T: Display,
fn red(&self) -> String
fn green(&self) -> String
fn yellow(&self) -> String
fn blue(&self) -> String
fn magenta(&self) -> String
fn cyan(&self) -> String
fn white(&self) -> String
fn bold(&self) -> String
fn dimmed(&self) -> String
fn italic(&self) -> String
fn on_black(&self) -> String
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.