pub struct PushActionRequest<'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 plan: &'a PushActionPlan,
}Expand description
Fully resolved inputs for a caller-authored exact push plan.
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.
plan: &'a PushActionPlanCaller-authored exact push plan.
Trait Implementations§
Source§impl<'a> Clone for PushActionRequest<'a>
impl<'a> Clone for PushActionRequest<'a>
Source§fn clone(&self) -> PushActionRequest<'a>
fn clone(&self) -> PushActionRequest<'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 PushActionRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for PushActionRequest<'a>
impl<'a> RefUnwindSafe for PushActionRequest<'a>
impl<'a> Send for PushActionRequest<'a>
impl<'a> Sync for PushActionRequest<'a>
impl<'a> Unpin for PushActionRequest<'a>
impl<'a> UnsafeUnpin for PushActionRequest<'a>
impl<'a> UnwindSafe for PushActionRequest<'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