Enum time::format_description::modifier::MonthRepr [−][src]
#[non_exhaustive]
pub enum MonthRepr {
Numerical,
Long,
Short,
}This is supported 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.
The number of the month (January is 1, December is 12).
The long form of the month name (e.g. “January”).
The short form of the month name (e.g. “Jan”).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MonthRepr
impl UnwindSafe for MonthRepr
Blanket Implementations
Mutably borrows from an owned value. Read more