pub enum MessageFormat {
Minimal,
Full,
Metadata,
Raw,
}Expand description
The format query parameter accepted by messages.get.
Variants§
Minimal
Only id/threadId/labelIds/sizeEstimate — no headers or body.
Full
The full parsed MIME structure. Default.
Metadata
Headers and snippet only, no body.
Raw
The full RFC 2822 message, base64url-encoded.
Trait Implementations§
Source§impl Clone for MessageFormat
impl Clone for MessageFormat
Source§fn clone(&self) -> MessageFormat
fn clone(&self) -> MessageFormat
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 MessageFormat
Source§impl Debug for MessageFormat
impl Debug for MessageFormat
Source§impl Default for MessageFormat
impl Default for MessageFormat
Source§fn default() -> MessageFormat
fn default() -> MessageFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageFormat
impl RefUnwindSafe for MessageFormat
impl Send for MessageFormat
impl Sync for MessageFormat
impl Unpin for MessageFormat
impl UnsafeUnpin for MessageFormat
impl UnwindSafe for MessageFormat
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