Struct holiday::NthWeekdayOfMonth 
source · pub struct NthWeekdayOfMonth { /* private fields */ }Expand description
Nth weekday of a month (e.g.: Second Tuesday in October)
Implementations§
Trait Implementations§
source§impl BeforeAfterDate for NthWeekdayOfMonth
 
impl BeforeAfterDate for NthWeekdayOfMonth
source§fn after_today(&self) -> NaiveDate
 
fn after_today(&self) -> NaiveDate
The next occurrence including today (successor)
source§fn before_today(&self) -> NaiveDate
 
fn before_today(&self) -> NaiveDate
The previous occurrence excluding today (predecessor)
source§fn first_date(&self) -> NaiveDate
 
fn first_date(&self) -> NaiveDate
The first representable occurrence of the date
source§impl Clone for NthWeekdayOfMonth
 
impl Clone for NthWeekdayOfMonth
source§fn clone(&self) -> NthWeekdayOfMonth
 
fn clone(&self) -> NthWeekdayOfMonth
Returns a copy 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 moresource§impl Debug for NthWeekdayOfMonth
 
impl Debug for NthWeekdayOfMonth
source§impl From<NaiveDate> for NthWeekdayOfMonth
 
impl From<NaiveDate> for NthWeekdayOfMonth
source§impl<'h> IntoIterator for &'h NthWeekdayOfMonth
 
impl<'h> IntoIterator for &'h NthWeekdayOfMonth
source§impl Ord for NthWeekdayOfMonth
 
impl Ord for NthWeekdayOfMonth
source§impl PartialEq<NaiveDate> for NthWeekdayOfMonth
 
impl PartialEq<NaiveDate> for NthWeekdayOfMonth
source§impl<S: ToString> PartialEq<NthWeekdayOfMonth> for Holiday<S>
 
impl<S: ToString> PartialEq<NthWeekdayOfMonth> for Holiday<S>
source§fn eq(&self, nth: &NthWeekdayOfMonth) -> bool
 
fn eq(&self, nth: &NthWeekdayOfMonth) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialEq for NthWeekdayOfMonth
 
impl PartialEq for NthWeekdayOfMonth
source§fn eq(&self, other: &NthWeekdayOfMonth) -> bool
 
fn eq(&self, other: &NthWeekdayOfMonth) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for NthWeekdayOfMonth
 
impl PartialOrd for NthWeekdayOfMonth
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moreimpl Copy for NthWeekdayOfMonth
impl Eq for NthWeekdayOfMonth
impl StructuralPartialEq for NthWeekdayOfMonth
Auto Trait Implementations§
impl Freeze for NthWeekdayOfMonth
impl RefUnwindSafe for NthWeekdayOfMonth
impl Send for NthWeekdayOfMonth
impl Sync for NthWeekdayOfMonth
impl Unpin for NthWeekdayOfMonth
impl UnwindSafe for NthWeekdayOfMonth
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