pub enum RepeaterUnit {
Day,
Week,
Month,
Year,
Hour,
Workday,
}Expand description
Repeater unit
Variants§
Day
d — days.
Week
w — weeks.
Month
m — calendar months.
Year
y — calendar years.
Hour
+Nh — intra-day repeater. For the agenda-by-day view this projects
onto a daily grid: every day is an occurrence regardless of the numeric
value N. A hypothetical “+25h” therefore still shows up every day, not
every other day. Documented behaviour, see closest_date.
Workday
wd — working days, skipping weekends and public holidays according
to HolidayCalendar.
Implementations§
Trait Implementations§
Source§impl Clone for RepeaterUnit
impl Clone for RepeaterUnit
Source§fn clone(&self) -> RepeaterUnit
fn clone(&self) -> RepeaterUnit
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 moreSource§impl Debug for RepeaterUnit
impl Debug for RepeaterUnit
Source§impl PartialEq for RepeaterUnit
impl PartialEq for RepeaterUnit
impl StructuralPartialEq for RepeaterUnit
Auto Trait Implementations§
impl Freeze for RepeaterUnit
impl RefUnwindSafe for RepeaterUnit
impl Send for RepeaterUnit
impl Sync for RepeaterUnit
impl Unpin for RepeaterUnit
impl UnsafeUnpin for RepeaterUnit
impl UnwindSafe for RepeaterUnit
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