pub struct JmapCalendarEventQueryOptions {
pub filter: Option<JmapCalendarEventFilter>,
pub sort: Option<Vec<JmapCalendarEventSortComparator>>,
pub position: Option<u64>,
pub limit: Option<u64>,
pub expand_recurrences: bool,
pub time_zone: Option<String>,
pub properties: Option<Vec<String>>,
pub reduce_participants: bool,
}Expand description
Options for JmapCalendarEventQuery::new.
Fields§
§filter: Option<JmapCalendarEventFilter>Filter criteria; None matches all events.
sort: Option<Vec<JmapCalendarEventSortComparator>>Sort order; None uses the server default.
position: Option<u64>Zero-based offset into the result list.
limit: Option<u64>Max number of events to return.
expand_recurrences: boolReturn one id per occurrence rather than one per series, which
requires the filter to bound the window with after and
before.
time_zone: Option<String>IANA time zone id the filter’s and the returned floating times
are resolved against; None leaves the server default
(Etc/UTC).
properties: Option<Vec<String>>Event properties to fetch (JSCalendar property names plus the
JMAP ones); None returns all.
reduce_participants: boolReturn only the participants the user needs to answer an invitation, i.e. themselves and the owners.
Trait Implementations§
Source§impl Clone for JmapCalendarEventQueryOptions
impl Clone for JmapCalendarEventQueryOptions
Source§fn clone(&self) -> JmapCalendarEventQueryOptions
fn clone(&self) -> JmapCalendarEventQueryOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for JmapCalendarEventQueryOptions
impl Default for JmapCalendarEventQueryOptions
Source§fn default() -> JmapCalendarEventQueryOptions
fn default() -> JmapCalendarEventQueryOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JmapCalendarEventQueryOptions
impl RefUnwindSafe for JmapCalendarEventQueryOptions
impl Send for JmapCalendarEventQueryOptions
impl Sync for JmapCalendarEventQueryOptions
impl Unpin for JmapCalendarEventQueryOptions
impl UnsafeUnpin for JmapCalendarEventQueryOptions
impl UnwindSafe for JmapCalendarEventQueryOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more