pub struct CronInstant {
pub year: i32,
pub month: u8,
pub day_of_month: u8,
pub hour: u8,
pub minute: u8,
pub day_of_week: u8,
}Expand description
Fieldized instant used by matches_cron.
Fields§
§year: i32year field for year.
month: u8month field for month.
day_of_month: u8day_of_month field for day of month.
hour: u8hour field for hour.
minute: u8minute field for minute.
day_of_week: u8Sunday = 0.
Implementations§
Trait Implementations§
Source§impl Clone for CronInstant
impl Clone for CronInstant
Source§fn clone(&self) -> CronInstant
fn clone(&self) -> CronInstant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CronInstant
impl Debug for CronInstant
Source§impl PartialEq for CronInstant
impl PartialEq for CronInstant
impl Copy for CronInstant
impl Eq for CronInstant
impl StructuralPartialEq for CronInstant
Auto Trait Implementations§
impl Freeze for CronInstant
impl RefUnwindSafe for CronInstant
impl Send for CronInstant
impl Sync for CronInstant
impl Unpin for CronInstant
impl UnsafeUnpin for CronInstant
impl UnwindSafe for CronInstant
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.