pub struct ClonedRepo {
pub path: PathBuf,
pub url: String,
pub git_ref: String,
pub commit_sha: Option<String>,
/* private fields */
}Expand description
Result of a successful clone operation
Fields§
§path: PathBufPath to the cloned repository
url: StringOriginal repository URL
git_ref: StringGit ref that was checked out
commit_sha: Option<String>Commit SHA of the checked out ref
Implementations§
Auto Trait Implementations§
impl Freeze for ClonedRepo
impl RefUnwindSafe for ClonedRepo
impl Send for ClonedRepo
impl Sync for ClonedRepo
impl Unpin for ClonedRepo
impl UnwindSafe for ClonedRepo
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more