pub struct GmailMessagePartBody {
pub data: Option<String>,
pub size: Option<u64>,
pub attachment_id: Option<String>,
}Expand description
Gmail message body metadata and inline payload.
Fields§
§data: Option<String>§size: Option<u64>§attachment_id: Option<String>Trait Implementations§
Source§impl Clone for GmailMessagePartBody
impl Clone for GmailMessagePartBody
Source§fn clone(&self) -> GmailMessagePartBody
fn clone(&self) -> GmailMessagePartBody
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 GmailMessagePartBody
impl Debug for GmailMessagePartBody
Source§impl<'de> Deserialize<'de> for GmailMessagePartBody
impl<'de> Deserialize<'de> for GmailMessagePartBody
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
Source§impl PartialEq for GmailMessagePartBody
impl PartialEq for GmailMessagePartBody
Source§fn eq(&self, other: &GmailMessagePartBody) -> bool
fn eq(&self, other: &GmailMessagePartBody) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GmailMessagePartBody
impl Serialize for GmailMessagePartBody
impl Eq for GmailMessagePartBody
impl StructuralPartialEq for GmailMessagePartBody
Auto Trait Implementations§
impl Freeze for GmailMessagePartBody
impl RefUnwindSafe for GmailMessagePartBody
impl Send for GmailMessagePartBody
impl Sync for GmailMessagePartBody
impl Unpin for GmailMessagePartBody
impl UnsafeUnpin for GmailMessagePartBody
impl UnwindSafe for GmailMessagePartBody
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