Enum dropbox_sdk::files::MediaMetadata
source · 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 PartialEq<MediaMetadata> for MediaMetadata
impl PartialEq<MediaMetadata> for MediaMetadata
source§fn eq(&self, other: &MediaMetadata) -> bool
fn eq(&self, other: &MediaMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MediaMetadata
impl Serialize for MediaMetadata
impl StructuralPartialEq for MediaMetadata
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§
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