Struct google_mirror1::api::Attachment [−][src]
pub struct Attachment {
pub content_type: Option<String>,
pub content_url: Option<String>,
pub id: Option<String>,
pub is_processing_content: Option<bool>,
}
Expand description
Represents media content, such as a photo, that can be attached to a timeline item.
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).
- attachments get timeline (response)
- attachments insert timeline (response)
Fields
content_type: Option<String>
The MIME type of the attachment.
content_url: Option<String>
The URL for the content.
id: Option<String>
The ID of the attachment.
is_processing_content: Option<bool>
Indicates that the contentUrl is not available because the attachment content is still being processed. If the caller wishes to retrieve the content, it should try again later.
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 Attachment
impl Send for Attachment
impl Sync for Attachment
impl Unpin for Attachment
impl UnwindSafe for Attachment
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more