[][src]Struct rrule::Options

pub struct Options {
    pub freq: Option<Frequenzy>,
    pub interval: Option<usize>,
    pub count: Option<u32>,
    pub until: Option<DateTime<Tz>>,
    pub tzid: Option<Tz>,
    pub dtstart: Option<DateTime<Tz>>,
    pub wkst: Option<usize>,
    pub bysetpos: Option<Vec<isize>>,
    pub bymonth: Option<Vec<usize>>,
    pub bymonthday: Option<Vec<isize>>,
    pub bynmonthday: Option<Vec<isize>>,
    pub byyearday: Option<Vec<isize>>,
    pub byweekno: Option<Vec<isize>>,
    pub byweekday: Option<Vec<usize>>,
    pub byhour: Option<Vec<usize>>,
    pub byminute: Option<Vec<usize>>,
    pub bysecond: Option<Vec<usize>>,
    pub bynweekday: Option<Vec<Vec<isize>>>,
    pub byeaster: Option<isize>,
}

Fields

freq: Option<Frequenzy>interval: Option<usize>count: Option<u32>until: Option<DateTime<Tz>>tzid: Option<Tz>dtstart: Option<DateTime<Tz>>wkst: Option<usize>bysetpos: Option<Vec<isize>>bymonth: Option<Vec<usize>>bymonthday: Option<Vec<isize>>bynmonthday: Option<Vec<isize>>byyearday: Option<Vec<isize>>byweekno: Option<Vec<isize>>byweekday: Option<Vec<usize>>byhour: Option<Vec<usize>>byminute: Option<Vec<usize>>bysecond: Option<Vec<usize>>bynweekday: Option<Vec<Vec<isize>>>byeaster: Option<isize>

Implementations

impl Options[src]

pub fn new() -> Self[src]

pub fn concat(opt1: &Self, opt2: &Self) -> Self[src]

pub fn freq(self, freq: Frequenzy) -> Self[src]

pub fn interval(self, interval: usize) -> Self[src]

pub fn count(self, count: u32) -> Self[src]

pub fn until(self, until: DateTime<Tz>) -> Self[src]

pub fn dtstart(self, dtstart: DateTime<Tz>) -> Self[src]

pub fn wkst(self, wkst: Weekday) -> Self[src]

pub fn bysetpos(self, bysetpos: Vec<isize>) -> Self[src]

pub fn bymonth(self, bymonth: Vec<usize>) -> Self[src]

pub fn bymonthday(self, bymonthday: Vec<isize>) -> Self[src]

pub fn byyearday(self, byyearday: Vec<isize>) -> Self[src]

pub fn byweekno(self, byweekno: Vec<isize>) -> Self[src]

pub fn byweekday(self, byweekday: Vec<Weekday>) -> Self[src]

pub fn byhour(self, byhour: Vec<usize>) -> Self[src]

pub fn byminute(self, byminute: Vec<usize>) -> Self[src]

pub fn bysecond(self, bysecond: Vec<usize>) -> Self[src]

pub fn byeaster(self, byeaster: isize) -> Self[src]

pub fn build(self) -> Result<ParsedOptions, RRuleParseError>[src]

Trait Implementations

impl Clone for Options[src]

impl Debug for Options[src]

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

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.