pub struct PushRequest<'a> {
pub git_dir: &'a Path,
pub common_git_dir: &'a Path,
pub format: ObjectFormat,
pub config: &'a GitConfig,
pub remote: &'a str,
pub destination: &'a PushDestination,
pub refspecs: &'a [String],
pub options: &'a PushOptions,
}Expand description
Fully resolved inputs for a push run.
Fields§
§git_dir: &'a PathLocal repository $GIT_DIR.
common_git_dir: &'a PathLocal repository common $GIT_DIR, used for object access.
format: ObjectFormatLocal repository object format.
config: &'a GitConfigLocal repository config snapshot.
remote: &'a strRemote name or source string, used for diagnostics.
destination: &'a PushDestinationAlready-resolved push destination.
refspecs: &'a [String]Refspecs requested by the caller.
options: &'a PushOptionsPush behavior flags.
Trait Implementations§
Source§impl<'a> Clone for PushRequest<'a>
impl<'a> Clone for PushRequest<'a>
Source§fn clone(&self) -> PushRequest<'a>
fn clone(&self) -> PushRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for PushRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for PushRequest<'a>
impl<'a> RefUnwindSafe for PushRequest<'a>
impl<'a> Send for PushRequest<'a>
impl<'a> Sync for PushRequest<'a>
impl<'a> Unpin for PushRequest<'a>
impl<'a> UnsafeUnpin for PushRequest<'a>
impl<'a> UnwindSafe for PushRequest<'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