Struct google_photoslibrary1::api::NewMediaItem [−][src]
pub struct NewMediaItem {
pub description: Option<String>,
pub simple_media_item: Option<SimpleMediaItem>,
}
Expand description
New media item that’s created in a user’s Google Photos account.
This type is not used in any activity, and only used as part of another schema.
Fields
description: Option<String>
Description of the media item. This will be shown to the user in the item’s info section in the Google Photos app. This string shouldn’t be more than 1000 characters.
simple_media_item: Option<SimpleMediaItem>
A new media item that has been uploaded via the included uploadToken
.
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 NewMediaItem
impl Send for NewMediaItem
impl Sync for NewMediaItem
impl Unpin for NewMediaItem
impl UnwindSafe for NewMediaItem
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more