pub enum MonthlySpecification {
Each(NonEmpty<DayOfMonth>),
OnThe(OrdinalMonthlyRecurrence),
}Variants§
Each(NonEmpty<DayOfMonth>)
OnThe(OrdinalMonthlyRecurrence)
Implementations§
Source§impl MonthlySpecification
impl MonthlySpecification
pub fn each(days: impl Into<NonEmpty<DayOfMonth>>) -> Self
pub fn into_each(self) -> Option<NonEmpty<DayOfMonth>>
pub fn into_on_the(self) -> Option<OrdinalMonthlyRecurrence>
Trait Implementations§
Source§impl Clone for MonthlySpecification
impl Clone for MonthlySpecification
Source§fn clone(&self) -> MonthlySpecification
fn clone(&self) -> MonthlySpecification
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 MonthlySpecification
impl Debug for MonthlySpecification
Source§impl PartialEq for MonthlySpecification
impl PartialEq for MonthlySpecification
Source§fn eq(&self, other: &MonthlySpecification) -> bool
fn eq(&self, other: &MonthlySpecification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MonthlySpecification
impl StructuralPartialEq for MonthlySpecification
Auto Trait Implementations§
impl Freeze for MonthlySpecification
impl RefUnwindSafe for MonthlySpecification
impl Send for MonthlySpecification
impl Sync for MonthlySpecification
impl Unpin for MonthlySpecification
impl UnsafeUnpin for MonthlySpecification
impl UnwindSafe for MonthlySpecification
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