Enum dropbox_sdk::files::FileCategory [−][src]
#[non_exhaustive] pub enum FileCategory { Image, Document, Pdf, Spreadsheet, Presentation, Audio, Video, Folder, Paper, Others, Other, }
dbx_files
only.Variants (Non-exhaustive)
jpg, png, gif, and more.
doc, docx, txt, and more.
pdf.
xlsx, xls, csv, and more.
ppt, pptx, key, and more.
mp3, wav, mid, and more.
mov, wmv, mp4, and more.
dropbox folder.
dropbox paper doc.
any file not in one of the categories above.
Catch-all used for unrecognized values returned from the server. Encountering this value typically indicates that this SDK version is out of date.
Trait Implementations
impl Clone for FileCategory
[src]
impl Clone for FileCategory
[src]fn clone(&self) -> FileCategory
[src]
fn clone(&self) -> FileCategory
[src]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 FileCategory
[src]
impl Debug for FileCategory
[src]impl<'de> Deserialize<'de> for FileCategory
[src]
impl<'de> Deserialize<'de> for FileCategory
[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<FileCategory> for FileCategory
[src]
impl PartialEq<FileCategory> for FileCategory
[src]impl Serialize for FileCategory
[src]
impl Serialize for FileCategory
[src]impl StructuralPartialEq for FileCategory
[src]
Auto Trait Implementations
impl RefUnwindSafe for FileCategory
impl Send for FileCategory
impl Sync for FileCategory
impl Unpin for FileCategory
impl UnwindSafe for FileCategory
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,