pub struct JmapContactCardQuery { /* private fields */ }Expand description
I/O-free coroutine for the combined ContactCard/query +
ContactCard/get operation.
Implementations§
Source§impl JmapContactCardQuery
impl JmapContactCardQuery
Sourcepub fn new(
session: &JmapSession,
http_auth: &SecretString,
opts: JmapContactCardQueryOptions,
) -> Result<Self, JmapContactCardQueryError>
pub fn new( session: &JmapSession, http_auth: &SecretString, opts: JmapContactCardQueryOptions, ) -> Result<Self, JmapContactCardQueryError>
Prepares the method call request and builds the coroutine.
Trait Implementations§
Source§impl JmapCoroutine for JmapContactCardQuery
impl JmapCoroutine for JmapContactCardQuery
Source§type Return = Result<JmapContactCardQueryOutput, JmapContactCardQueryError>
type Return = Result<JmapContactCardQueryOutput, JmapContactCardQueryError>
Terminal value. By convention
Result<Output, Error>.Auto Trait Implementations§
impl Freeze for JmapContactCardQuery
impl RefUnwindSafe for JmapContactCardQuery
impl Send for JmapContactCardQuery
impl Sync for JmapContactCardQuery
impl Unpin for JmapContactCardQuery
impl UnsafeUnpin for JmapContactCardQuery
impl UnwindSafe for JmapContactCardQuery
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