pub struct Push<'a> { /* private fields */ }Expand description
Builder for git push command.
See git push --help for full documentation.
Implementations§
Source§impl<'a> Push<'a>
impl<'a> Push<'a>
Sourcepub fn porcelain(self) -> Self
pub fn porcelain(self) -> Self
Give output in machine-parseable format.
Corresponds to --porcelain.
Sourcepub fn porcelain_if(self, value: bool) -> Self
pub fn porcelain_if(self, value: bool) -> Self
Conditionally enable porcelain output.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Push<'a>
impl<'a> RefUnwindSafe for Push<'a>
impl<'a> Send for Push<'a>
impl<'a> Sync for Push<'a>
impl<'a> Unpin for Push<'a>
impl<'a> UnwindSafe for Push<'a>
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