Enum dropbox_sdk::files::Metadata
source · pub enum Metadata {
File(FileMetadata),
Folder(FolderMetadata),
Deleted(DeletedMetadata),
}Expand description
Metadata for a file or folder.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Metadata
Available on crate feature dbx_files only.
impl<'de> Deserialize<'de> for Metadata
Available on crate feature
dbx_files only.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<DeletedMetadata> for Metadata
Available on crate feature dbx_files only.
impl From<DeletedMetadata> for Metadata
Available on crate feature
dbx_files only.source§fn from(subtype: DeletedMetadata) -> Self
fn from(subtype: DeletedMetadata) -> Self
Converts to this type from the input type.
source§impl From<FileMetadata> for Metadata
Available on crate feature dbx_files only.
impl From<FileMetadata> for Metadata
Available on crate feature
dbx_files only.source§fn from(subtype: FileMetadata) -> Self
fn from(subtype: FileMetadata) -> Self
Converts to this type from the input type.
source§impl From<FolderMetadata> for Metadata
Available on crate feature dbx_files only.
impl From<FolderMetadata> for Metadata
Available on crate feature
dbx_files only.source§fn from(subtype: FolderMetadata) -> Self
fn from(subtype: FolderMetadata) -> Self
Converts to this type from the input type.
source§impl PartialEq for Metadata
Available on crate feature dbx_files only.
impl PartialEq for Metadata
Available on crate feature
dbx_files only.impl StructuralPartialEq for Metadata
Available on crate feature
dbx_files only.Auto Trait Implementations§
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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