#[repr(u8)]pub enum MonthName {
January = 0,
February = 1,
March = 2,
April = 3,
May = 4,
June = 5,
July = 6,
August = 7,
September = 8,
October = 9,
November = 10,
December = 11,
}
Variants§
January = 0
February = 1
March = 2
April = 3
May = 4
June = 5
July = 6
August = 7
September = 8
October = 9
November = 10
December = 11
Trait Implementations§
source§impl<'de> Deserialize<'de> for MonthName
impl<'de> Deserialize<'de> for MonthName
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 LowerHex for MonthName
impl LowerHex for MonthName
LowerHex allows printing the week day in its shortened form in English
source§impl Ord for MonthName
impl Ord for MonthName
source§impl PartialEq for MonthName
impl PartialEq for MonthName
source§impl PartialOrd for MonthName
impl PartialOrd for MonthName
1.0.0 · source§fn 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 moreimpl Copy for MonthName
impl Eq for MonthName
impl StructuralEq for MonthName
impl StructuralPartialEq for MonthName
Auto Trait Implementations§
impl RefUnwindSafe for MonthName
impl Send for MonthName
impl Sync for MonthName
impl Unpin for MonthName
impl UnwindSafe for MonthName
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