pub struct MsgraphMessageCreateMime { /* private fields */ }Expand description
Creates a Microsoft Graph draft message from raw RFC 5322 MIME.
Implementations§
Source§impl MsgraphMessageCreateMime
impl MsgraphMessageCreateMime
Sourcepub fn new(
auth: &HttpAuthBearer,
user_id: &str,
folder: Option<&str>,
raw: &[u8],
) -> Result<Self, MsgraphSendError>
pub fn new( auth: &HttpAuthBearer, user_id: &str, folder: Option<&str>, raw: &[u8], ) -> Result<Self, MsgraphSendError>
Creates the draft in the mailbox root, or in folder when given
(a folder id or a well-known name such as drafts).
Trait Implementations§
Source§impl MsgraphCoroutine for MsgraphMessageCreateMime
impl MsgraphCoroutine for MsgraphMessageCreateMime
Source§type Yield = MsgraphYield
type Yield = MsgraphYield
The I/O request type yielded while the coroutine progresses.
Source§type Return = Result<MsgraphSendOutput<MsgraphMessage>, MsgraphSendError>
type Return = Result<MsgraphSendOutput<MsgraphMessage>, MsgraphSendError>
The final value produced on completion.
Auto Trait Implementations§
impl Freeze for MsgraphMessageCreateMime
impl RefUnwindSafe for MsgraphMessageCreateMime
impl Send for MsgraphMessageCreateMime
impl Sync for MsgraphMessageCreateMime
impl Unpin for MsgraphMessageCreateMime
impl UnsafeUnpin for MsgraphMessageCreateMime
impl UnwindSafe for MsgraphMessageCreateMime
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