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>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moreimpl Copy for WeekDay
impl Eq for WeekDay
impl StructuralEq 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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