pub enum ParsedTimestamp {
Year(i32),
YearMonth(i32, Month),
YearMonthDay(i32, Month, NonZeroU8),
YearMonthDayHour(i32, Month, NonZeroU8, u8),
YearMonthDayHourMinute(i32, Month, NonZeroU8, u8, u8),
YearMonthDayHourMinuteSecond(i32, Month, NonZeroU8, u8, u8, u8),
}Variants§
Year(i32)
YearMonth(i32, Month)
YearMonthDay(i32, Month, NonZeroU8)
YearMonthDayHour(i32, Month, NonZeroU8, u8)
YearMonthDayHourMinute(i32, Month, NonZeroU8, u8, u8)
YearMonthDayHourMinuteSecond(i32, Month, NonZeroU8, u8, u8, u8)
Trait Implementations§
Source§impl Clone for ParsedTimestamp
impl Clone for ParsedTimestamp
Source§fn clone(&self) -> ParsedTimestamp
fn clone(&self) -> ParsedTimestamp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParsedTimestamp
Source§impl Debug for ParsedTimestamp
impl Debug for ParsedTimestamp
impl Eq for ParsedTimestamp
Source§impl FromStr for ParsedTimestamp
impl FromStr for ParsedTimestamp
Source§impl PartialEq for ParsedTimestamp
impl PartialEq for ParsedTimestamp
impl StructuralPartialEq for ParsedTimestamp
Source§impl TryFrom<ParsedTimestamp> for StartTimestamp
impl TryFrom<ParsedTimestamp> for StartTimestamp
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ParsedTimestamp
impl RefUnwindSafe for ParsedTimestamp
impl Send for ParsedTimestamp
impl Sync for ParsedTimestamp
impl Unpin for ParsedTimestamp
impl UnsafeUnpin for ParsedTimestamp
impl UnwindSafe for ParsedTimestamp
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