pub struct JmapEmailGet { /* private fields */ }Expand description
I/O-free coroutine for the JMAP Email/get method.
Implementations§
Source§impl JmapEmailGet
impl JmapEmailGet
Sourcepub fn new(
session: &JmapSession,
http_auth: &SecretString,
ids: Vec<String>,
opts: JmapEmailGetOptions,
) -> Result<Self, JmapEmailGetError>
pub fn new( session: &JmapSession, http_auth: &SecretString, ids: Vec<String>, opts: JmapEmailGetOptions, ) -> Result<Self, JmapEmailGetError>
Prepares the method call request and builds the coroutine.
Trait Implementations§
Source§impl JmapCoroutine for JmapEmailGet
impl JmapCoroutine for JmapEmailGet
Source§type Return = Result<JmapEmailGetOutput, JmapEmailGetError>
type Return = Result<JmapEmailGetOutput, JmapEmailGetError>
Terminal value. By convention
Result<Output, Error>.Auto Trait Implementations§
impl Freeze for JmapEmailGet
impl RefUnwindSafe for JmapEmailGet
impl Send for JmapEmailGet
impl Sync for JmapEmailGet
impl Unpin for JmapEmailGet
impl UnsafeUnpin for JmapEmailGet
impl UnwindSafe for JmapEmailGet
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