pub struct MsgraphMailSend { /* private fields */ }Expand description
Send a message described as a JSON MsgraphMessage.
Implementations§
Source§impl MsgraphMailSend
impl MsgraphMailSend
Sourcepub fn new(
auth: &HttpAuthBearer,
user_id: &str,
message: &MsgraphMessage,
save_to_sent_items: bool,
) -> Result<Self, MsgraphSendError>
pub fn new( auth: &HttpAuthBearer, user_id: &str, message: &MsgraphMessage, save_to_sent_items: bool, ) -> Result<Self, MsgraphSendError>
Sends message, saving it to Sent Items when
save_to_sent_items is set.
Trait Implementations§
Source§impl MsgraphCoroutine for MsgraphMailSend
impl MsgraphCoroutine for MsgraphMailSend
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 MsgraphMailSend
impl RefUnwindSafe for MsgraphMailSend
impl Send for MsgraphMailSend
impl Sync for MsgraphMailSend
impl Unpin for MsgraphMailSend
impl UnsafeUnpin for MsgraphMailSend
impl UnwindSafe for MsgraphMailSend
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