pub enum WorktreeOperation {
Create(CreateOptions),
Remove(RemoveOptions),
List,
Status(String),
}Expand description
Git worktree operation types
Variants§
Trait Implementations§
Source§impl Clone for WorktreeOperation
impl Clone for WorktreeOperation
Source§fn clone(&self) -> WorktreeOperation
fn clone(&self) -> WorktreeOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorktreeOperation
impl RefUnwindSafe for WorktreeOperation
impl Send for WorktreeOperation
impl Sync for WorktreeOperation
impl Unpin for WorktreeOperation
impl UnsafeUnpin for WorktreeOperation
impl UnwindSafe for WorktreeOperation
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