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