pub struct MsgraphMailSendMime { /* private fields */ }Expand description
Send a message given as raw RFC 5322 MIME bytes; the MIME is
base64-encoded and posted as text/plain, as Graph requires.
Implementations§
Source§impl MsgraphMailSendMime
impl MsgraphMailSendMime
Sourcepub fn new(
auth: &HttpAuthBearer,
user_id: &str,
raw: &[u8],
) -> Result<Self, MsgraphSendError>
pub fn new( auth: &HttpAuthBearer, user_id: &str, raw: &[u8], ) -> Result<Self, MsgraphSendError>
Sends the message given as raw RFC 5322 MIME bytes.
Trait Implementations§
Source§impl MsgraphCoroutine for MsgraphMailSendMime
impl MsgraphCoroutine for MsgraphMailSendMime
Source§type Yield = MsgraphYield
type Yield = MsgraphYield
The I/O request type yielded while the coroutine progresses.
Source§type Return = Result<MsgraphSendOutput<MsgraphNoResponse>, MsgraphSendError>
type Return = Result<MsgraphSendOutput<MsgraphNoResponse>, MsgraphSendError>
The final value produced on completion.
Auto Trait Implementations§
impl Freeze for MsgraphMailSendMime
impl RefUnwindSafe for MsgraphMailSendMime
impl Send for MsgraphMailSendMime
impl Sync for MsgraphMailSendMime
impl Unpin for MsgraphMailSendMime
impl UnsafeUnpin for MsgraphMailSendMime
impl UnwindSafe for MsgraphMailSendMime
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