Enum backblaze_b2::raw::files::FileFolderType [] [src]

pub enum FileFolderType {
    File,
    HideMarker,
    Folder,
}

Specifies if something is a file, a hide marker og a folder.

Variants

Methods

impl FileFolderType
[src]

Converts the strings "upload", "hide" and "folder" into the appropriate enum values.

Converts the enum into the strings "upload", "hide" or "folder".

Converts the FileFolderType into a FileType if possible, otherwise returns None.

Trait Implementations

impl Debug for FileFolderType
[src]

Formats the value using the given formatter.

impl Clone for FileFolderType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for FileFolderType
[src]

impl PartialEq for FileFolderType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for FileFolderType
[src]

impl<'de> Deserialize<'de> for FileFolderType
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for FileFolderType
[src]

Serialize this value into the given Serde serializer. Read more