pub struct CleanBranchesCommand { /* private fields */ }
Expand description
Command to clean merged branches
Implementations§
Trait Implementations§
Source§impl Command for CleanBranchesCommand
impl Command for CleanBranchesCommand
Source§impl Destructive for CleanBranchesCommand
impl Destructive for CleanBranchesCommand
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 CleanBranchesCommand
impl DryRunnable for CleanBranchesCommand
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 CleanBranchesCommand
impl GitCommand for CleanBranchesCommand
Auto Trait Implementations§
impl Freeze for CleanBranchesCommand
impl RefUnwindSafe for CleanBranchesCommand
impl Send for CleanBranchesCommand
impl Sync for CleanBranchesCommand
impl Unpin for CleanBranchesCommand
impl UnwindSafe for CleanBranchesCommand
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