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: 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
reminder: Option<CalendarEventReminder>
is_service: bool
metadata: Metadata
Implementations
impl CalendarEvent
[src]
pub fn set_recurrence(
&mut self,
reccurence: RRuleOptions,
calendar_settings: &CalendarSettings,
update_endtime: bool
) -> bool
[src]
&mut self,
reccurence: RRuleOptions,
calendar_settings: &CalendarSettings,
update_endtime: bool
) -> bool
pub fn get_max_timestamp() -> i64
[src]
pub fn get_rrule_set(
&self,
calendar_settings: &CalendarSettings
) -> Option<RRuleSet>
[src]
&self,
calendar_settings: &CalendarSettings
) -> Option<RRuleSet>
pub fn expand(
&self,
timespan: Option<&TimeSpan>,
calendar_settings: &CalendarSettings
) -> Vec<EventInstance>
[src]
&self,
timespan: Option<&TimeSpan>,
calendar_settings: &CalendarSettings
) -> Vec<EventInstance>
Trait Implementations
impl Clone for CalendarEvent
[src]
fn clone(&self) -> CalendarEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CalendarEvent
[src]
impl Entity for CalendarEvent
[src]
impl Meta for CalendarEvent
[src]
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
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> Same<T> for T
type Output = T
Should always be Self
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,