pub enum RecurrenceEndCondition {
Never,
AfterCount(usize),
OnDate(DateTime<Local>),
}Expand description
When a recurrence ends.
Variants§
Never
Repeats forever.
AfterCount(usize)
Ends after a number of occurrences.
OnDate(DateTime<Local>)
Ends on a specific date.
Trait Implementations§
Source§impl Clone for RecurrenceEndCondition
impl Clone for RecurrenceEndCondition
Source§fn clone(&self) -> RecurrenceEndCondition
fn clone(&self) -> RecurrenceEndCondition
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 moreAuto Trait Implementations§
impl Freeze for RecurrenceEndCondition
impl RefUnwindSafe for RecurrenceEndCondition
impl Send for RecurrenceEndCondition
impl Sync for RecurrenceEndCondition
impl Unpin for RecurrenceEndCondition
impl UnsafeUnpin for RecurrenceEndCondition
impl UnwindSafe for RecurrenceEndCondition
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