pub enum DirectiveKind {
New {
file_path: String,
},
Patch {
file_path: String,
},
Append {
file_path: String,
},
Rename {
from_path: String,
file_path: String,
},
Delete {
file_path: String,
},
Fail {
kind_str: String,
file_path: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for DirectiveKind
impl Clone for DirectiveKind
Source§fn clone(&self) -> DirectiveKind
fn clone(&self) -> DirectiveKind
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 moreAuto Trait Implementations§
impl Freeze for DirectiveKind
impl RefUnwindSafe for DirectiveKind
impl Send for DirectiveKind
impl Sync for DirectiveKind
impl Unpin for DirectiveKind
impl UnsafeUnpin for DirectiveKind
impl UnwindSafe for DirectiveKind
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