pub enum MediaMetadata {
    Photo(PhotoMetadata),
    Video(VideoMetadata),
}Available on crate feature 
dbx_files only.Expand description
Metadata for a photo or video.
Variants§
Photo(PhotoMetadata)
Video(VideoMetadata)
Trait Implementations§
Source§impl Clone for MediaMetadata
 
impl Clone for MediaMetadata
Source§fn clone(&self) -> MediaMetadata
 
fn clone(&self) -> MediaMetadata
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for MediaMetadata
 
impl Debug for MediaMetadata
Source§impl<'de> Deserialize<'de> for MediaMetadata
 
impl<'de> Deserialize<'de> for MediaMetadata
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
 
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<PhotoMetadata> for MediaMetadata
 
impl From<PhotoMetadata> for MediaMetadata
Source§fn from(subtype: PhotoMetadata) -> Self
 
fn from(subtype: PhotoMetadata) -> Self
Converts to this type from the input type.
Source§impl From<VideoMetadata> for MediaMetadata
 
impl From<VideoMetadata> for MediaMetadata
Source§fn from(subtype: VideoMetadata) -> Self
 
fn from(subtype: VideoMetadata) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MediaMetadata
 
impl PartialEq for MediaMetadata
Source§impl Serialize for MediaMetadata
 
impl Serialize for MediaMetadata
impl StructuralPartialEq for MediaMetadata
Auto Trait Implementations§
impl Freeze for MediaMetadata
impl RefUnwindSafe for MediaMetadata
impl Send for MediaMetadata
impl Sync for MediaMetadata
impl Unpin for MediaMetadata
impl UnwindSafe for MediaMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more