pub struct MonthlyRecurrenceSchedule { /* private fields */ }Implementations§
Source§impl MonthlyRecurrenceSchedule
impl MonthlyRecurrenceSchedule
pub fn new(interval: Interval, matching: MonthlySpecification) -> Self
pub fn take(self) -> (Interval, MonthlySpecification)
pub fn monthly_each(days: impl Into<NonEmpty<DayOfMonth>>) -> Self
Trait Implementations§
Source§impl Clone for MonthlyRecurrenceSchedule
impl Clone for MonthlyRecurrenceSchedule
Source§fn clone(&self) -> MonthlyRecurrenceSchedule
fn clone(&self) -> MonthlyRecurrenceSchedule
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 MonthlyRecurrenceSchedule
impl Debug for MonthlyRecurrenceSchedule
Source§impl PartialEq for MonthlyRecurrenceSchedule
impl PartialEq for MonthlyRecurrenceSchedule
Source§fn eq(&self, other: &MonthlyRecurrenceSchedule) -> bool
fn eq(&self, other: &MonthlyRecurrenceSchedule) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Schedule for MonthlyRecurrenceSchedule
impl Schedule for MonthlyRecurrenceSchedule
Source§fn next_occurrence_after(&self, from: Date) -> Date
fn next_occurrence_after(&self, from: Date) -> Date
Provides the next scheduled date on this schedule after the given date.
Source§fn into_string(self, starting: Date) -> String
fn into_string(self, starting: Date) -> String
Converts this schedule into a string that can be parsed, given the same starting date, into
the same schedule.
impl Eq for MonthlyRecurrenceSchedule
impl StructuralPartialEq for MonthlyRecurrenceSchedule
Auto Trait Implementations§
impl Freeze for MonthlyRecurrenceSchedule
impl RefUnwindSafe for MonthlyRecurrenceSchedule
impl Send for MonthlyRecurrenceSchedule
impl Sync for MonthlyRecurrenceSchedule
impl Unpin for MonthlyRecurrenceSchedule
impl UnsafeUnpin for MonthlyRecurrenceSchedule
impl UnwindSafe for MonthlyRecurrenceSchedule
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