pub struct FetchBundleRequest<'a> {
pub git_dir: &'a Path,
pub format: ObjectFormat,
pub bundle_path: &'a str,
pub bundle: &'a Bundle,
pub refspecs: &'a [String],
pub options: &'a FetchOptions,
}Expand description
Fully resolved inputs for a fetch_bundle run.
Fields§
§git_dir: &'a PathLocal repository $GIT_DIR.
format: ObjectFormatLocal repository object format.
bundle_path: &'a strBundle path or source string used for FETCH_HEAD descriptions.
bundle: &'a BundleParsed bundle contents.
refspecs: &'a [String]Refspecs requested by the caller. Empty means fetch the bundle’s default
HEAD only (no ref updates).
options: &'a FetchOptionsFetch behavior flags.
Auto Trait Implementations§
impl<'a> Freeze for FetchBundleRequest<'a>
impl<'a> RefUnwindSafe for FetchBundleRequest<'a>
impl<'a> Send for FetchBundleRequest<'a>
impl<'a> Sync for FetchBundleRequest<'a>
impl<'a> Unpin for FetchBundleRequest<'a>
impl<'a> UnsafeUnpin for FetchBundleRequest<'a>
impl<'a> UnwindSafe for FetchBundleRequest<'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