[−][src]Struct rrule::Options
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,