Enum backblaze_b2::raw::files::FileType
[−]
[src]
pub enum FileType { File, HideMarker, }
Specifies if something is a file or a hide marker.
Variants
File
HideMarker
Methods
impl FileType
[src]
fn from_str(s: &str) -> Option<FileType>
Converts the strings "upload" and "hide" into the appropriate enum values.
fn as_str(&self) -> &'static str
Converts the enum into the strings "upload" or "hide".
Trait Implementations
impl Debug for FileType
[src]
impl Clone for FileType
[src]
fn clone(&self) -> FileType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for FileType
[src]
impl Eq for FileType
[src]
impl PartialEq for FileType
[src]
fn eq(&self, __arg_0: &FileType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Into<FileFolderType> for FileType
[src]
fn into(self) -> FileFolderType
Performs the conversion.
impl<'de> Deserialize<'de> for FileType
[src]
fn deserialize<D>(deserializer: D) -> Result<FileType, D::Error> where
D: Deserializer<'de>,
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more