pub struct GmailMessagesBatchModify { /* private fields */ }Expand description
Gmail REST batch message label modification, yielding no response body.
Implementations§
Source§impl GmailMessagesBatchModify
impl GmailMessagesBatchModify
Sourcepub fn new(
auth: &HttpAuthBearer,
user_id: &str,
ids: &[String],
add_label_ids: &[String],
remove_label_ids: &[String],
) -> Result<Self, GmailSendError>
pub fn new( auth: &HttpAuthBearer, user_id: &str, ids: &[String], add_label_ids: &[String], remove_label_ids: &[String], ) -> Result<Self, GmailSendError>
Builds the users.messages.batchModify request adding and
removing the given label ids on the given message ids.
Trait Implementations§
Source§impl GmailCoroutine for GmailMessagesBatchModify
impl GmailCoroutine for GmailMessagesBatchModify
Source§type Yield = GmailYield
type Yield = GmailYield
The I/O request type yielded while the exchange is in progress.
Source§type Return = Result<GmailSendOutput<GmailNoResponse>, GmailSendError>
type Return = Result<GmailSendOutput<GmailNoResponse>, GmailSendError>
The terminal value type produced when the exchange completes.
Auto Trait Implementations§
impl Freeze for GmailMessagesBatchModify
impl RefUnwindSafe for GmailMessagesBatchModify
impl Send for GmailMessagesBatchModify
impl Sync for GmailMessagesBatchModify
impl Unpin for GmailMessagesBatchModify
impl UnsafeUnpin for GmailMessagesBatchModify
impl UnwindSafe for GmailMessagesBatchModify
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