Struct nettu_scheduler_domain::RRuleOptions[][src]

pub struct RRuleOptions {
    pub freq: RRuleFrequenzy,
    pub interval: isize,
    pub count: Option<i32>,
    pub until: Option<isize>,
    pub bysetpos: Option<Vec<isize>>,
    pub byweekday: Option<Vec<WeekDay>>,
    pub bymonthday: Option<Vec<isize>>,
    pub bymonth: Option<Vec<usize>>,
    pub byyearday: Option<Vec<isize>>,
    pub byweekno: Option<Vec<isize>>,
}

Fields

freq: RRuleFrequenzyinterval: isizecount: Option<i32>until: Option<isize>bysetpos: Option<Vec<isize>>byweekday: Option<Vec<WeekDay>>bymonthday: Option<Vec<isize>>bymonth: Option<Vec<usize>>byyearday: Option<Vec<isize>>byweekno: Option<Vec<isize>>

Implementations

impl RRuleOptions[src]

pub fn is_valid(&self, start_ts: i64) -> bool[src]

pub fn get_parsed_options(
    self,
    start_ts: i64,
    calendar_settings: &CalendarSettings
) -> ParsedOptions
[src]

Trait Implementations

impl Clone for RRuleOptions[src]

impl Debug for RRuleOptions[src]

impl Default for RRuleOptions[src]

impl<'de> Deserialize<'de> for RRuleOptions[src]

impl Serialize for RRuleOptions[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,