#[non_exhaustive]pub enum MonthRepr {
Numerical,
Long,
Short,
}๐Deprecated since 0.3.48: used only in the deprecated
Month componentAvailable on crate features
formatting or parsing only.Expand description
The representation of a month.
Variants (Non-exhaustive)ยง
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Numerical
๐Deprecated since 0.3.48: used only in the deprecated
Month componentThe number of the month (January is 1, December is 12).
Long
๐Deprecated since 0.3.48: used only in the deprecated
Month componentThe long form of the month name (e.g. โJanuaryโ).
Short
๐Deprecated since 0.3.48: used only in the deprecated
Month componentThe short form of the month name (e.g. โJanโ).
Trait Implementationsยง
Sourceยงimpl Default for MonthRepr
Creates a modifier that indicates the value uses the
Numerical representation.
impl Default for MonthRepr
Creates a modifier that indicates the value uses the
Numerical representation.
impl Copy for MonthRepr
impl Eq for MonthRepr
impl StructuralPartialEq for MonthRepr
Auto Trait Implementationsยง
impl Freeze for MonthRepr
impl RefUnwindSafe for MonthRepr
impl Send for MonthRepr
impl Sync for MonthRepr
impl Unpin for MonthRepr
impl UnsafeUnpin for MonthRepr
impl UnwindSafe for MonthRepr
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