Struct nettu_scheduler_domain::CalendarEvent [−][src]
pub struct CalendarEvent {Show 15 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 reminders: Vec<CalendarEventReminder>,
pub service_id: Option<ID>,
pub metadata: Metadata,
}
Fields
id: ID
start_ts: i64
duration: i64
busy: bool
end_ts: i64
created: i64
updated: i64
recurrence: Option<RRuleOptions>
exdates: Vec<i64>
calendar_id: ID
user_id: ID
account_id: ID
reminders: Vec<CalendarEventReminder>
service_id: Option<ID>
metadata: Metadata
Implementations
pub fn set_recurrence(
&mut self,
recurrence: RRuleOptions,
calendar_settings: &CalendarSettings,
update_endtime: bool
) -> bool
pub fn expand(
&self,
timespan: Option<&TimeSpan>,
calendar_settings: &CalendarSettings
) -> Vec<EventInstance>
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CalendarEvent
impl Send for CalendarEvent
impl Sync for CalendarEvent
impl Unpin for CalendarEvent
impl UnwindSafe for CalendarEvent
Blanket Implementations
Mutably borrows from an owned value. Read more