Struct google_gmail1::api::MessagePartBody [−][src]
pub struct MessagePartBody {
pub attachment_id: Option<String>,
pub data: Option<String>,
pub size: Option<i32>,
}Expand description
The body of a single MIME message part.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- messages attachments get users (response)
Fields
attachment_id: Option<String>When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
data: Option<String>The body data of a MIME message part as a base64url encoded string. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
size: Option<i32>Number of bytes for the message part data (encoding notwithstanding).
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for MessagePartBody
impl Send for MessagePartBody
impl Sync for MessagePartBody
impl Unpin for MessagePartBody
impl UnwindSafe for MessagePartBody
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more