pub struct JmapCalendarEventSortComparator {
pub property: JmapCalendarEventSortProperty,
pub is_ascending: Option<bool>,
}Expand description
Sort comparator for CalendarEvent/query (RFC 8620 §5.5).
Fields§
§property: JmapCalendarEventSortPropertyThe property to sort by.
is_ascending: Option<bool>Ascending if None or Some(true).
Trait Implementations§
Source§impl Clone for JmapCalendarEventSortComparator
impl Clone for JmapCalendarEventSortComparator
Source§fn clone(&self) -> JmapCalendarEventSortComparator
fn clone(&self) -> JmapCalendarEventSortComparator
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 moreAuto Trait Implementations§
impl Freeze for JmapCalendarEventSortComparator
impl RefUnwindSafe for JmapCalendarEventSortComparator
impl Send for JmapCalendarEventSortComparator
impl Sync for JmapCalendarEventSortComparator
impl Unpin for JmapCalendarEventSortComparator
impl UnsafeUnpin for JmapCalendarEventSortComparator
impl UnwindSafe for JmapCalendarEventSortComparator
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