pub enum ThreadFormat {
Minimal,
Full,
Metadata,
}Expand description
The format query parameter accepted by threads.get.
Deliberately has no Raw variant — meaningless for a thread (a thread’s
whole point is showing the conversation’s parsed messages), unlike
crate::gmail::messages_api::MessageFormat.
Variants§
Minimal
Only id/historyId per message — no headers or body.
Full
The full parsed MIME structure for every message. Default.
Metadata
Headers and snippet only per message, no body.
Trait Implementations§
Source§impl Clone for ThreadFormat
impl Clone for ThreadFormat
Source§fn clone(&self) -> ThreadFormat
fn clone(&self) -> ThreadFormat
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 ThreadFormat
Source§impl Debug for ThreadFormat
impl Debug for ThreadFormat
Source§impl Default for ThreadFormat
impl Default for ThreadFormat
Source§fn default() -> ThreadFormat
fn default() -> ThreadFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ThreadFormat
impl RefUnwindSafe for ThreadFormat
impl Send for ThreadFormat
impl Sync for ThreadFormat
impl Unpin for ThreadFormat
impl UnsafeUnpin for ThreadFormat
impl UnwindSafe for ThreadFormat
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