Struct google_photoslibrary1::api::MediaMetadata [−][src]
pub struct MediaMetadata {
pub creation_time: Option<String>,
pub height: Option<String>,
pub photo: Option<Photo>,
pub video: Option<Video>,
pub width: Option<String>,
}
Expand description
Metadata for a media item.
This type is not used in any activity, and only used as part of another schema.
Fields
creation_time: Option<String>
Time when the media item was first created (not when it was uploaded to Google Photos).
height: Option<String>
Original height (in pixels) of the media item.
photo: Option<Photo>
Metadata for a photo media type.
video: Option<Video>
Metadata for a video media type.
width: Option<String>
Original width (in pixels) of the media item.
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 MediaMetadata
impl Send for MediaMetadata
impl Sync for MediaMetadata
impl Unpin for MediaMetadata
impl UnwindSafe for MediaMetadata
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more