pub struct FetchOutcome {
pub name: String,
pub local_path: PathBuf,
pub resolved_rev: String,
pub already_present: bool,
}Expand description
The outcome of a fetch operation for one dependency.
Fields§
§name: StringThe dependency name (key in [dependencies]).
local_path: PathBufWhere the source now lives on disk.
resolved_rev: StringThe resolved Git commit SHA, if this was a Git source (empty for path).
already_present: boolTrue if the checkout was already present and up to date.
Trait Implementations§
Source§impl Clone for FetchOutcome
impl Clone for FetchOutcome
Source§impl Debug for FetchOutcome
impl Debug for FetchOutcome
impl Eq for FetchOutcome
Source§impl PartialEq for FetchOutcome
impl PartialEq for FetchOutcome
impl StructuralPartialEq 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