pub struct DateData {
pub date_obj: Option<ParsedDateTime>,
pub period: Period,
pub locale: Option<String>,
pub parts: Vec<&'static str>,
pub part_of_day: Option<PartOfDay>,
}Fields§
§date_obj: Option<ParsedDateTime>§period: Period§locale: Option<String>§parts: Vec<&'static str>§part_of_day: Option<PartOfDay>Implementations§
Trait Implementations§
impl Eq for DateData
impl StructuralPartialEq for DateData
Auto Trait Implementations§
impl Forget for DateData
impl Freeze for DateData
impl Move for DateData
impl RefUnwindSafe for DateData
impl Send for DateData
impl Sync for DateData
impl Unpin for DateData
impl UnsafeUnpin for DateData
impl UnwindSafe for DateData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more