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
sourceimpl Clone for MediaMetadata
impl Clone for MediaMetadata
sourcefn clone(&self) -> MediaMetadata
fn clone(&self) -> MediaMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MediaMetadata
impl Debug for MediaMetadata
sourceimpl<'de> Deserialize<'de> for MediaMetadata
impl<'de> Deserialize<'de> for MediaMetadata
sourcefn 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
sourceimpl PartialEq<MediaMetadata> for MediaMetadata
impl PartialEq<MediaMetadata> for MediaMetadata
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &MediaMetadata) -> bool
fn ne(&self, other: &MediaMetadata) -> bool
This method tests for !=
.
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more