pub enum FileAction {
Start,
Upload,
Copy,
Hide,
Folder,
}
Expand description
The action taken that resulted in a File object returned by the B2 API.
Variants§
Start
A large file upload has been started and is still in progress.
Upload
A file was uploaded.
Copy
A file was copied from another file.
Hide
The file (file version) has been marked as hidden.
Folder
The file is a virtual folder.
Trait Implementations§
Source§impl Clone for FileAction
impl Clone for FileAction
Source§fn clone(&self) -> FileAction
fn clone(&self) -> FileAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FileAction
impl Debug for FileAction
Source§impl<'de> Deserialize<'de> for FileAction
impl<'de> Deserialize<'de> for FileAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FileAction
impl PartialEq for FileAction
Source§impl Serialize for FileAction
impl Serialize for FileAction
impl Copy for FileAction
impl Eq for FileAction
impl StructuralPartialEq for FileAction
Auto Trait Implementations§
impl Freeze for FileAction
impl RefUnwindSafe for FileAction
impl Send for FileAction
impl Sync for FileAction
impl Unpin for FileAction
impl UnwindSafe for FileAction
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