pub struct GmailThread {
pub id: String,
pub snippet: Option<String>,
pub history_id: Option<String>,
pub messages: Vec<GmailMessage>,
}Expand description
A Gmail thread resource.
A thread groups related messages into a single conversation.
Fields§
§id: StringImmutable identifier of the thread.
snippet: Option<String>Short part of the message text.
history_id: Option<String>Id of the last history record that modified the thread.
messages: Vec<GmailMessage>Messages belonging to the thread.
Trait Implementations§
Source§impl Clone for GmailThread
impl Clone for GmailThread
Source§fn clone(&self) -> GmailThread
fn clone(&self) -> GmailThread
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 moreSource§impl Debug for GmailThread
impl Debug for GmailThread
Source§impl<'de> Deserialize<'de> for GmailThread
impl<'de> Deserialize<'de> for GmailThread
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 GmailThread
Source§impl PartialEq for GmailThread
impl PartialEq for GmailThread
Source§impl Serialize for GmailThread
impl Serialize for GmailThread
impl StructuralPartialEq for GmailThread
Auto Trait Implementations§
impl Freeze for GmailThread
impl RefUnwindSafe for GmailThread
impl Send for GmailThread
impl Sync for GmailThread
impl Unpin for GmailThread
impl UnsafeUnpin for GmailThread
impl UnwindSafe for GmailThread
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