pub struct DateHour(/* private fields */);Expand description
Simplified date with hour field
Seems to be limited to the span of a week.
Implementations§
Trait Implementations§
Source§impl From<&NaiveDateTime> for DateHour
impl From<&NaiveDateTime> for DateHour
Source§fn from(value: &NaiveDateTime) -> Self
fn from(value: &NaiveDateTime) -> Self
Converts to this type from the input type.
impl Eq for DateHour
impl StructuralPartialEq for DateHour
Auto Trait Implementations§
impl Freeze for DateHour
impl RefUnwindSafe for DateHour
impl Send for DateHour
impl Sync for DateHour
impl Unpin for DateHour
impl UnwindSafe for DateHour
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.