pub struct GmailMessageSend { /* private fields */ }Expand description
Gmail REST message send, wrapping the resulting GmailMessageId.
Implementations§
Source§impl GmailMessageSend
impl GmailMessageSend
Sourcepub fn new(
auth: &HttpAuthBearer,
user_id: &str,
message: &GmailMessage,
) -> Result<Self, GmailSendError>
pub fn new( auth: &HttpAuthBearer, user_id: &str, message: &GmailMessage, ) -> Result<Self, GmailSendError>
Builds the users.messages.send request for the given message.
Trait Implementations§
Source§impl GmailCoroutine for GmailMessageSend
impl GmailCoroutine for GmailMessageSend
Source§type Yield = GmailYield
type Yield = GmailYield
The I/O request type yielded while the exchange is in progress.
Source§type Return = Result<GmailSendOutput<GmailMessageId>, GmailSendError>
type Return = Result<GmailSendOutput<GmailMessageId>, GmailSendError>
The terminal value type produced when the exchange completes.
Auto Trait Implementations§
impl Freeze for GmailMessageSend
impl RefUnwindSafe for GmailMessageSend
impl Send for GmailMessageSend
impl Sync for GmailMessageSend
impl Unpin for GmailMessageSend
impl UnsafeUnpin for GmailMessageSend
impl UnwindSafe for GmailMessageSend
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