pub enum TimeOffsetSign {
Negative,
Positive,
}
Expand description
Sign of a time offset.
Variants§
Trait Implementations§
Source§impl Clone for TimeOffsetSign
impl Clone for TimeOffsetSign
Source§fn clone(&self) -> TimeOffsetSign
fn clone(&self) -> TimeOffsetSign
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TimeOffsetSign
impl Debug for TimeOffsetSign
Source§impl Hash for TimeOffsetSign
impl Hash for TimeOffsetSign
Source§impl Ord for TimeOffsetSign
impl Ord for TimeOffsetSign
Source§fn cmp(&self, other: &TimeOffsetSign) -> Ordering
fn cmp(&self, other: &TimeOffsetSign) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TimeOffsetSign
impl PartialEq for TimeOffsetSign
Source§impl PartialOrd for TimeOffsetSign
impl PartialOrd for TimeOffsetSign
impl Copy for TimeOffsetSign
impl Eq for TimeOffsetSign
impl StructuralPartialEq for TimeOffsetSign
Auto Trait Implementations§
impl Freeze for TimeOffsetSign
impl RefUnwindSafe for TimeOffsetSign
impl Send for TimeOffsetSign
impl Sync for TimeOffsetSign
impl Unpin for TimeOffsetSign
impl UnwindSafe for TimeOffsetSign
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