pub enum FileCommand {
CreateDirectory,
Rename {
destination: String,
},
Move {
destination: String,
},
Remove {
confirmed_target: String,
confirmed_path: String,
},
Delete {
confirmed_target: String,
confirmed_path: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for FileCommand
impl Clone for FileCommand
Source§impl Debug for FileCommand
impl Debug for FileCommand
Source§impl<'de> Deserialize<'de> for FileCommand
impl<'de> Deserialize<'de> for FileCommand
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
impl Eq for FileCommand
Source§impl PartialEq for FileCommand
impl PartialEq for FileCommand
Source§impl Serialize for FileCommand
impl Serialize for FileCommand
impl StructuralPartialEq for FileCommand
Auto Trait Implementations§
impl Forget for FileCommand
impl Freeze for FileCommand
impl RefUnwindSafe for FileCommand
impl Send for FileCommand
impl Sync for FileCommand
impl Unpin for FileCommand
impl UnsafeUnpin for FileCommand
impl UnwindSafe for FileCommand
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