pub struct StashBranchCommand { /* private fields */ }Expand description
Command to stash work into a new branch
Implementations§
Trait Implementations§
Source§impl Command for StashBranchCommand
impl Command for StashBranchCommand
Source§impl Destructive for StashBranchCommand
impl Destructive for StashBranchCommand
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 GitCommand for StashBranchCommand
impl GitCommand for StashBranchCommand
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> 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