Struct nettu_scheduler_domain::CalendarEvent[][src]

pub struct CalendarEvent {
Show fields pub id: ID, pub start_ts: i64, pub duration: i64, pub busy: bool, pub end_ts: i64, pub created: i64, pub updated: i64, pub recurrence: Option<RRuleOptions>, pub exdates: Vec<i64>, pub calendar_id: ID, pub user_id: ID, pub account_id: ID, pub reminder: Option<CalendarEventReminder>, pub is_service: bool, pub metadata: Metadata,
}

Fields

id: IDstart_ts: i64duration: i64busy: boolend_ts: i64created: i64updated: i64recurrence: Option<RRuleOptions>exdates: Vec<i64>calendar_id: IDuser_id: IDaccount_id: IDreminder: Option<CalendarEventReminder>is_service: boolmetadata: Metadata

Implementations

impl CalendarEvent[src]

pub fn set_recurrence(
    &mut self,
    reccurence: RRuleOptions,
    calendar_settings: &CalendarSettings,
    update_endtime: bool
) -> bool
[src]

pub fn get_max_timestamp() -> i64[src]

pub fn get_rrule_set(
    &self,
    calendar_settings: &CalendarSettings
) -> Option<RRuleSet>
[src]

pub fn expand(
    &self,
    timespan: Option<&TimeSpan>,
    calendar_settings: &CalendarSettings
) -> Vec<EventInstance>
[src]

Trait Implementations

impl Clone for CalendarEvent[src]

impl Debug for CalendarEvent[src]

impl Entity for CalendarEvent[src]

impl Meta for CalendarEvent[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> 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>,