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