pub struct PartsOfDay {
pub early_morning: NaiveTime,
pub morning: NaiveTime,
pub afternoon: NaiveTime,
pub evening: NaiveTime,
pub night: NaiveTime,
}Fields§
§early_morning: NaiveTime§morning: NaiveTime§afternoon: NaiveTime§evening: NaiveTime§night: NaiveTimeImplementations§
Trait Implementations§
Source§impl Clone for PartsOfDay
impl Clone for PartsOfDay
impl Copy for PartsOfDay
Source§impl Debug for PartsOfDay
impl Debug for PartsOfDay
Source§impl Default for PartsOfDay
impl Default for PartsOfDay
impl Eq for PartsOfDay
Source§impl PartialEq for PartsOfDay
impl PartialEq for PartsOfDay
impl StructuralPartialEq for PartsOfDay
Auto Trait Implementations§
impl Forget for PartsOfDay
impl Freeze for PartsOfDay
impl Move for PartsOfDay
impl RefUnwindSafe for PartsOfDay
impl Send for PartsOfDay
impl Sync for PartsOfDay
impl Unpin for PartsOfDay
impl UnsafeUnpin for PartsOfDay
impl UnwindSafe for PartsOfDay
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