pub struct JmapContactCardQueryOptions {
pub filter: Option<JmapContactCardFilter>,
pub sort: Option<Vec<JmapContactCardSortComparator>>,
pub position: Option<u64>,
pub limit: Option<u64>,
pub properties: Option<Vec<String>>,
}Expand description
Options for JmapContactCardQuery::new.
Fields§
§filter: Option<JmapContactCardFilter>Filter criteria; None matches all cards.
sort: Option<Vec<JmapContactCardSortComparator>>Sort order; None uses the server default.
position: Option<u64>Zero-based offset into the result list.
limit: Option<u64>Max number of cards to return.
properties: Option<Vec<String>>Card properties to fetch (JSContact property names plus id and
addressBookIds); None returns all.
Trait Implementations§
Source§impl Clone for JmapContactCardQueryOptions
impl Clone for JmapContactCardQueryOptions
Source§fn clone(&self) -> JmapContactCardQueryOptions
fn clone(&self) -> JmapContactCardQueryOptions
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 Debug for JmapContactCardQueryOptions
impl Debug for JmapContactCardQueryOptions
Source§impl Default for JmapContactCardQueryOptions
impl Default for JmapContactCardQueryOptions
Source§fn default() -> JmapContactCardQueryOptions
fn default() -> JmapContactCardQueryOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JmapContactCardQueryOptions
impl RefUnwindSafe for JmapContactCardQueryOptions
impl Send for JmapContactCardQueryOptions
impl Sync for JmapContactCardQueryOptions
impl Unpin for JmapContactCardQueryOptions
impl UnsafeUnpin for JmapContactCardQueryOptions
impl UnwindSafe for JmapContactCardQueryOptions
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