Struct google_photoslibrary1::MediaMetadata [−][src]
pub struct MediaMetadata { pub width: Option<String>, pub creation_time: Option<String>, pub video: Option<Video>, pub photo: Option<Photo>, pub height: Option<String>, }
Metadata for a media item.
This type is not used in any activity, and only used as part of another schema.
Fields
width: Option<String>
Original width (in pixels) of the media item.
creation_time: Option<String>
Time when the media item was first created (not when it was uploaded to Google Photos).
video: Option<Video>
Metadata for a video media type.
photo: Option<Photo>
Metadata for a photo media type.
height: Option<String>
Original height (in pixels) of the media item.
Trait Implementations
impl Default for MediaMetadata
[src]
impl Default for MediaMetadata
fn default() -> MediaMetadata
[src]
fn default() -> MediaMetadata
Returns the "default value" for a type. Read more
impl Clone for MediaMetadata
[src]
impl Clone for MediaMetadata
fn clone(&self) -> MediaMetadata
[src]
fn clone(&self) -> MediaMetadata
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for MediaMetadata
[src]
impl Debug for MediaMetadata
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for MediaMetadata
[src]
impl Part for MediaMetadata
Auto Trait Implementations
impl Send for MediaMetadata
impl Send for MediaMetadata
impl Sync for MediaMetadata
impl Sync for MediaMetadata