pub struct UpstreamCommand;
Expand description
Command implementation for git upstream
Trait Implementations§
Source§impl Command for UpstreamCommand
impl Command for UpstreamCommand
Source§type Input = UpstreamAction
type Input = UpstreamAction
The input type for this command (can be () for no input)
Source§fn execute(&self, action: UpstreamAction) -> Result<()>
fn execute(&self, action: UpstreamAction) -> 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 requires_git_repo(&self) -> bool
fn requires_git_repo(&self) -> bool
Whether this command requires a git repository to function
Source§fn is_destructive(&self) -> bool
fn is_destructive(&self) -> bool
Whether this command performs destructive operations
Auto Trait Implementations§
impl Freeze for UpstreamCommand
impl RefUnwindSafe for UpstreamCommand
impl Send for UpstreamCommand
impl Sync for UpstreamCommand
impl Unpin for UpstreamCommand
impl UnwindSafe for UpstreamCommand
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