pub enum GmailMessageFormat {
Minimal,
Full,
Raw,
Metadata,
}Expand description
Amount of message detail to return (format query parameter).
Variants§
Minimal
Returns only the message id and labels; no headers, body or payload.
Full
Returns the full message data, with the body parsed in the payload field.
Raw
Returns the full message data as a base64url-encoded string in the raw field.
Metadata
Returns only the message id, labels and headers.
Trait Implementations§
Source§impl Clone for GmailMessageFormat
impl Clone for GmailMessageFormat
Source§fn clone(&self) -> GmailMessageFormat
fn clone(&self) -> GmailMessageFormat
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 GmailMessageFormat
Source§impl Debug for GmailMessageFormat
impl Debug for GmailMessageFormat
Source§impl<'de> Deserialize<'de> for GmailMessageFormat
impl<'de> Deserialize<'de> for GmailMessageFormat
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 GmailMessageFormat
Source§impl PartialEq for GmailMessageFormat
impl PartialEq for GmailMessageFormat
Source§impl Serialize for GmailMessageFormat
impl Serialize for GmailMessageFormat
impl StructuralPartialEq for GmailMessageFormat
Auto Trait Implementations§
impl Freeze for GmailMessageFormat
impl RefUnwindSafe for GmailMessageFormat
impl Send for GmailMessageFormat
impl Sync for GmailMessageFormat
impl Unpin for GmailMessageFormat
impl UnsafeUnpin for GmailMessageFormat
impl UnwindSafe for GmailMessageFormat
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