pub struct JmapEmailImport { /* private fields */ }Expand description
I/O-free coroutine for the JMAP Email/import method.
Implementations§
Source§impl JmapEmailImport
impl JmapEmailImport
Sourcepub fn new(
session: &JmapSession,
http_auth: &SecretString,
emails: BTreeMap<String, JmapEmailImportArgs>,
) -> Result<Self, JmapEmailImportError>
pub fn new( session: &JmapSession, http_auth: &SecretString, emails: BTreeMap<String, JmapEmailImportArgs>, ) -> Result<Self, JmapEmailImportError>
emails maps client-assigned IDs to JmapEmailImportArgs descriptors.
Trait Implementations§
Source§impl JmapCoroutine for JmapEmailImport
impl JmapCoroutine for JmapEmailImport
Source§type Return = Result<JmapEmailImportOutput, JmapEmailImportError>
type Return = Result<JmapEmailImportOutput, JmapEmailImportError>
Terminal value. By convention
Result<Output, Error>.Auto Trait Implementations§
impl Freeze for JmapEmailImport
impl RefUnwindSafe for JmapEmailImport
impl Send for JmapEmailImport
impl Sync for JmapEmailImport
impl Unpin for JmapEmailImport
impl UnsafeUnpin for JmapEmailImport
impl UnwindSafe for JmapEmailImport
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