pub struct PruneWorktreesOptions {
pub dry_run: bool,
}Expand description
Options for prune_linked_worktrees.
Fields§
§dry_run: boolList prunable worktrees without removing admin directories.
Trait Implementations§
Source§impl Clone for PruneWorktreesOptions
impl Clone for PruneWorktreesOptions
impl Copy for PruneWorktreesOptions
Source§impl Debug for PruneWorktreesOptions
impl Debug for PruneWorktreesOptions
Source§impl Default for PruneWorktreesOptions
impl Default for PruneWorktreesOptions
impl Eq for PruneWorktreesOptions
Source§impl PartialEq for PruneWorktreesOptions
impl PartialEq for PruneWorktreesOptions
impl StructuralPartialEq for PruneWorktreesOptions
Auto Trait Implementations§
impl Freeze for PruneWorktreesOptions
impl RefUnwindSafe for PruneWorktreesOptions
impl Send for PruneWorktreesOptions
impl Sync for PruneWorktreesOptions
impl Unpin for PruneWorktreesOptions
impl UnsafeUnpin for PruneWorktreesOptions
impl UnwindSafe for PruneWorktreesOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.