pub struct FetchOutcome {
pub repo_root: PathBuf,
pub onto: String,
pub fetched: bool,
pub ok: bool,
pub detail: Option<String>,
}Expand description
The one-shot fetch performed for a single repository.
Fields§
§repo_root: PathBufThe main working-tree root of the repository (the fetch is run here).
onto: StringThe resolved onto ref this repository’s worktrees rebase onto.
fetched: boolWhether a fetch was actually run (false for a local onto ref).
ok: boolWhether the fetch succeeded (always true when fetched is false).
detail: Option<String>The git fetch error, when it failed.
Trait Implementations§
Source§impl Clone for FetchOutcome
impl Clone for FetchOutcome
Source§fn clone(&self) -> FetchOutcome
fn clone(&self) -> FetchOutcome
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 moreSource§impl Debug for FetchOutcome
impl Debug for FetchOutcome
Auto Trait Implementations§
impl Freeze for FetchOutcome
impl RefUnwindSafe for FetchOutcome
impl Send for FetchOutcome
impl Sync for FetchOutcome
impl Unpin for FetchOutcome
impl UnsafeUnpin for FetchOutcome
impl UnwindSafe for FetchOutcome
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