Enum sqldatetime::WeekDay
source · [−]pub enum WeekDay {
Sunday,
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday,
}
Expand description
Weekdays in the order of 1..=7 Sun..=Sat for formatting and calculation use
Variants
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Trait Implementations
sourceimpl PartialOrd<WeekDay> for WeekDay
impl PartialOrd<WeekDay> for WeekDay
sourcefn partial_cmp(&self, other: &WeekDay) -> Option<Ordering>
fn partial_cmp(&self, other: &WeekDay) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for WeekDay
impl StructuralPartialEq for WeekDay
Auto Trait Implementations
impl RefUnwindSafe for WeekDay
impl Send for WeekDay
impl Sync for WeekDay
impl Unpin for WeekDay
impl UnwindSafe for WeekDay
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more