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