pub(super) enum AstComponent {
Show 17 variants
Day(Day),
End(End),
Hour(Hour),
Ignore(Ignore),
Minute(Minute),
Month(Month),
OffsetHour(OffsetHour),
OffsetMinute(OffsetMinute),
OffsetSecond(OffsetSecond),
Ordinal(Ordinal),
Period(Period),
Second(Second),
Subsecond(Subsecond),
UnixTimestamp(UnixTimestamp),
Weekday(Weekday),
WeekNumber(WeekNumber),
Year(Year),
}Variants§
Day(Day)
End(End)
Hour(Hour)
Ignore(Ignore)
Minute(Minute)
Month(Month)
OffsetHour(OffsetHour)
OffsetMinute(OffsetMinute)
OffsetSecond(OffsetSecond)
Ordinal(Ordinal)
Period(Period)
Second(Second)
Subsecond(Subsecond)
UnixTimestamp(UnixTimestamp)
Weekday(Weekday)
WeekNumber(WeekNumber)
Year(Year)
Trait Implementations§
Source§impl TryFrom<AstComponent> for Component
impl TryFrom<AstComponent> for Component
Source§impl TryFrom<AstComponent> for FormatDescriptionV3Inner<'_>
impl TryFrom<AstComponent> for FormatDescriptionV3Inner<'_>
Auto Trait Implementations§
impl Freeze for AstComponent
impl RefUnwindSafe for AstComponent
impl Send for AstComponent
impl Sync for AstComponent
impl Unpin for AstComponent
impl UnsafeUnpin for AstComponent
impl UnwindSafe for AstComponent
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