pub struct Push {
pub argv: Vec<String>,
pub dirs: Vec<Option<String>>,
}Expand description
A command that publishes local commits.
Fields§
§argv: Vec<String>The command without git’s global options: git push … or gh pr create ….
dirs: Vec<Option<String>>Every directory the command may run in, absolute; None for one that
is not known (cd "$X", git --git-dir=…, a GIT_DIR= assignment).
Trait Implementations§
impl Eq for Push
impl StructuralPartialEq for Push
Auto Trait Implementations§
impl Freeze for Push
impl RefUnwindSafe for Push
impl Send for Push
impl Sync for Push
impl Unpin for Push
impl UnsafeUnpin for Push
impl UnwindSafe for Push
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