pub struct PruneBranchesCommand { /* private fields */ }
Expand description
Command to prune (delete) merged local branches
Implementations§
Trait Implementations§
Source§impl Command for PruneBranchesCommand
impl Command for PruneBranchesCommand
Source§impl Destructive for PruneBranchesCommand
impl Destructive for PruneBranchesCommand
Source§fn destruction_description(&self) -> String
fn destruction_description(&self) -> String
Get a description of what will be destroyed/changed
Source§fn confirm_destruction(&self) -> Result<bool>
fn confirm_destruction(&self) -> Result<bool>
Confirm the destructive operation with the user
Source§impl DryRunnable for PruneBranchesCommand
impl DryRunnable for PruneBranchesCommand
Source§fn execute_dry_run(&self) -> Result<String>
fn execute_dry_run(&self) -> Result<String>
Execute the command in dry-run mode
Source§fn is_dry_run(&self) -> bool
fn is_dry_run(&self) -> bool
Check if dry-run mode is enabled
Source§impl GitCommand for PruneBranchesCommand
impl GitCommand for PruneBranchesCommand
Auto Trait Implementations§
impl Freeze for PruneBranchesCommand
impl RefUnwindSafe for PruneBranchesCommand
impl Send for PruneBranchesCommand
impl Sync for PruneBranchesCommand
impl Unpin for PruneBranchesCommand
impl UnwindSafe for PruneBranchesCommand
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more