pub struct MessageRef {
pub id: String,
pub thread_id: String,
}Expand description
A bare (id, threadId) pair, as returned by messages.list without
fetching each message’s full content.
Fields§
§id: StringGmail message id.
thread_id: StringId of the thread this message belongs to.
Trait Implementations§
Source§impl Clone for MessageRef
impl Clone for MessageRef
Source§fn clone(&self) -> MessageRef
fn clone(&self) -> MessageRef
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 MessageRef
impl Debug for MessageRef
Source§impl Default for MessageRef
impl Default for MessageRef
Source§fn default() -> MessageRef
fn default() -> MessageRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageRef
impl<'de> Deserialize<'de> for MessageRef
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 MessageRef
Source§impl PartialEq for MessageRef
impl PartialEq for MessageRef
Source§impl Serialize for MessageRef
impl Serialize for MessageRef
impl StructuralPartialEq for MessageRef
Auto Trait Implementations§
impl Freeze for MessageRef
impl RefUnwindSafe for MessageRef
impl Send for MessageRef
impl Sync for MessageRef
impl Unpin for MessageRef
impl UnsafeUnpin for MessageRef
impl UnwindSafe for MessageRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.