#[non_exhaustive]pub enum RecurrenceEnd {
Never,
Until(Date),
After(u32),
}Expand description
When a RecurrenceRule stops.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Never
It goes on.
Until(Date)
Its last day can be this one.
After(u32)
After this many occurrences, counting the first.
Trait Implementations§
Source§impl Clone for RecurrenceEnd
impl Clone for RecurrenceEnd
Source§fn clone(&self) -> RecurrenceEnd
fn clone(&self) -> RecurrenceEnd
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecurrenceEnd
Source§impl Debug for RecurrenceEnd
impl Debug for RecurrenceEnd
Source§impl Default for RecurrenceEnd
impl Default for RecurrenceEnd
Source§fn default() -> RecurrenceEnd
fn default() -> RecurrenceEnd
Returns the “default value” for a type. Read more
impl Eq for RecurrenceEnd
Source§impl Hash for RecurrenceEnd
impl Hash for RecurrenceEnd
Source§impl PartialEq for RecurrenceEnd
impl PartialEq for RecurrenceEnd
impl StructuralPartialEq for RecurrenceEnd
Auto Trait Implementations§
impl Freeze for RecurrenceEnd
impl RefUnwindSafe for RecurrenceEnd
impl Send for RecurrenceEnd
impl Sync for RecurrenceEnd
impl Unpin for RecurrenceEnd
impl UnsafeUnpin for RecurrenceEnd
impl UnwindSafe for RecurrenceEnd
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
impl<T> Brush for T
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