#[repr(u8)]pub enum StartOfWeek {
Sunday = 0,
Monday = 1,
Tuesday = 2,
Wednesday = 3,
Thursday = 4,
Friday = 5,
Saturday = 6,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StartOfWeek
impl Clone for StartOfWeek
Source§fn clone(&self) -> StartOfWeek
fn clone(&self) -> StartOfWeek
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 StartOfWeek
impl Debug for StartOfWeek
Source§impl<'de> Deserialize<'de> for StartOfWeek
impl<'de> Deserialize<'de> for StartOfWeek
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<StartOfWeek> for u8
impl From<StartOfWeek> for u8
Source§fn from(val: StartOfWeek) -> Self
fn from(val: StartOfWeek) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StartOfWeek
impl PartialEq for StartOfWeek
Source§impl Serialize for StartOfWeek
impl Serialize for StartOfWeek
impl Copy for StartOfWeek
impl Eq for StartOfWeek
impl StructuralPartialEq for StartOfWeek
Auto Trait Implementations§
impl Freeze for StartOfWeek
impl RefUnwindSafe for StartOfWeek
impl Send for StartOfWeek
impl Sync for StartOfWeek
impl Unpin for StartOfWeek
impl UnwindSafe for StartOfWeek
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