pub struct RelativeMatch {
pub naive: NaiveDateTime,
pub period: Period,
pub locale: String,
pub has_time: bool,
pub parts: Vec<&'static str>,
pub part_of_day: Option<PartOfDay>,
}Fields§
§naive: NaiveDateTime§period: Period§locale: String§has_time: bool§parts: Vec<&'static str>§part_of_day: Option<PartOfDay>Trait Implementations§
Source§impl Clone for RelativeMatch
impl Clone for RelativeMatch
Auto Trait Implementations§
impl Forget for RelativeMatch
impl Freeze for RelativeMatch
impl Move for RelativeMatch
impl RefUnwindSafe for RelativeMatch
impl Send for RelativeMatch
impl Sync for RelativeMatch
impl Unpin for RelativeMatch
impl UnsafeUnpin for RelativeMatch
impl UnwindSafe for RelativeMatch
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