pub struct BaseCommand { /* private fields */ }
Expand description
Base command builder with common functionality
Implementations§
Source§impl BaseCommand
impl BaseCommand
Sourcepub fn with_subcommands(subcommands: &[&str]) -> Self
pub fn with_subcommands(subcommands: &[&str]) -> Self
Add multiple subcommands (e.g., [“pr”, “list”])
Trait Implementations§
Source§impl Clone for BaseCommand
impl Clone for BaseCommand
Source§fn clone(&self) -> BaseCommand
fn clone(&self) -> BaseCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl CommandBuilder for BaseCommand
impl CommandBuilder for BaseCommand
Source§impl Debug for BaseCommand
impl Debug for BaseCommand
Source§impl GhCommand for BaseCommand
impl GhCommand for BaseCommand
Auto Trait Implementations§
impl Freeze for BaseCommand
impl RefUnwindSafe for BaseCommand
impl Send for BaseCommand
impl Sync for BaseCommand
impl Unpin for BaseCommand
impl UnwindSafe for BaseCommand
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