[][src]Enum holiday::HolidayDate

pub enum HolidayDate {

Holiday Date type



Fixed date. Example: "October 31"


Relative weekday in a month. Example: "4th Thursday in November"


impl HolidayDate[src]

pub fn iter(&self) -> HolidayIter<Self>[src]

Returns an iterator over the ocurrences of the HolidayDate

Trait Implementations

impl BeforeAfterDate for HolidayDate[src]

impl Clone for HolidayDate[src]

impl Copy for HolidayDate[src]

impl Debug for HolidayDate[src]

impl Eq for HolidayDate[src]

impl<'h> IntoIterator for &'h HolidayDate[src]

type Item = NaiveDate

The type of the elements being iterated over.

type IntoIter = HolidayIter<'h, HolidayDate>

Which kind of iterator are we turning this into?

impl Ord for HolidayDate[src]

impl PartialEq<HolidayDate> for HolidayDate[src]

impl PartialOrd<HolidayDate> for HolidayDate[src]

impl StructuralEq for HolidayDate[src]

impl StructuralPartialEq for HolidayDate[src]

Auto Trait Implementations

impl RefUnwindSafe for HolidayDate

impl Send for HolidayDate

impl Sync for HolidayDate

impl Unpin for HolidayDate

impl UnwindSafe for HolidayDate

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.