pub enum Frequency {
Yearly = 0,
Monthly = 1,
Weekly = 2,
Daily = 3,
Hourly = 4,
Minutely = 5,
Secondly = 6,
}
Expand description
The frequency of a recurrence.
Variants§
Yearly = 0
The recurrence occurs on a yearly basis.
Monthly = 1
The recurrence occurs on a monthly basis.
Weekly = 2
The recurrence occurs on a weekly basis.
Daily = 3
The recurrence occurs on a daily basis.
Hourly = 4
The recurrence occurs on an hourly basis.
Minutely = 5
The recurrence occurs on a minutely basis.
Secondly = 6
The recurrence occurs on a second basis.
Trait Implementations§
source§impl Ord for Frequency
impl Ord for Frequency
source§impl PartialEq for Frequency
impl PartialEq for Frequency
source§impl PartialOrd for Frequency
impl PartialOrd for Frequency
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Frequency
impl Eq for Frequency
impl StructuralPartialEq for Frequency
Auto Trait Implementations§
impl Freeze for Frequency
impl RefUnwindSafe for Frequency
impl Send for Frequency
impl Sync for Frequency
impl Unpin for Frequency
impl UnwindSafe for Frequency
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