[][src]Enum holidays_se::DayKind

pub enum DayKind {
    Weekday,
    DayBeforeHoliday,
    Holiday,
}

Variants

Weekday
DayBeforeHoliday
Holiday

Implementations

impl DayKind[src]

pub fn next_start(&self, dt: &DateTime<Tz>) -> DateTime<Tz>[src]

Returns the next occurence of self. If dt occurs on self, dt is returned

Trait Implementations

impl Clone for DayKind[src]

impl Copy for DayKind[src]

impl Debug for DayKind[src]

impl Eq for DayKind[src]

impl PartialEq<DayKind> for DayKind[src]

impl StructuralEq for DayKind[src]

impl StructuralPartialEq for DayKind[src]

Auto Trait Implementations

impl RefUnwindSafe for DayKind

impl Send for DayKind

impl Sync for DayKind

impl Unpin for DayKind

impl UnwindSafe for DayKind

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.