pub enum GmailDisposition {
DispositionUnspecified,
LeaveInInbox,
Archive,
Trash,
MarkRead,
}Expand description
Action applied to a message after it has been forwarded or fetched.
Variants§
DispositionUnspecified
No disposition specified.
LeaveInInbox
Leave the message untouched in the inbox.
Archive
Archive the message.
Trash
Move the message to the trash.
MarkRead
Leave the message in the inbox but mark it as read.
Trait Implementations§
Source§impl Clone for GmailDisposition
impl Clone for GmailDisposition
Source§fn clone(&self) -> GmailDisposition
fn clone(&self) -> GmailDisposition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GmailDisposition
Source§impl Debug for GmailDisposition
impl Debug for GmailDisposition
Source§impl<'de> Deserialize<'de> for GmailDisposition
impl<'de> Deserialize<'de> for GmailDisposition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GmailDisposition
Source§impl PartialEq for GmailDisposition
impl PartialEq for GmailDisposition
Source§impl Serialize for GmailDisposition
impl Serialize for GmailDisposition
impl StructuralPartialEq for GmailDisposition
Auto Trait Implementations§
impl Freeze for GmailDisposition
impl RefUnwindSafe for GmailDisposition
impl Send for GmailDisposition
impl Sync for GmailDisposition
impl Unpin for GmailDisposition
impl UnsafeUnpin for GmailDisposition
impl UnwindSafe for GmailDisposition
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