pub struct StashBranchCommand;
Expand description
Command implementation for git stash-branch
Trait Implementations§
Source§impl Command for StashBranchCommand
impl Command for StashBranchCommand
Source§type Input = StashBranchAction
type Input = StashBranchAction
The input type for this command (can be () for no input)
Source§fn execute(&self, action: StashBranchAction) -> Result<()>
fn execute(&self, action: StashBranchAction) -> Result<()>
Execute the command with the given input
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Get a description of what this command does
Source§fn is_destructive(&self) -> bool
fn is_destructive(&self) -> bool
Whether this command performs destructive operations
Source§fn requires_git_repo(&self) -> bool
fn requires_git_repo(&self) -> bool
Whether this command requires a git repository to function
Auto Trait Implementations§
impl Freeze for StashBranchCommand
impl RefUnwindSafe for StashBranchCommand
impl Send for StashBranchCommand
impl Sync for StashBranchCommand
impl Unpin for StashBranchCommand
impl UnwindSafe for StashBranchCommand
Blanket Implementations§
Source§impl<T> ActionCommand for T
impl<T> ActionCommand for T
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