pub struct PreparedRepo {
pub git_dir: PathBuf,
pub slug: Option<String>,
pub url: Option<String>,
pub display_name: String,
pub branch: String,
pub is_remote: bool,
}Fields§
§git_dir: PathBuf§slug: Option<String>owner/repo when the repository lives on GitHub.
url: Option<String>Web URL for the repository, when known.
display_name: String§branch: String§is_remote: boolTrue for a cloned remote (has an origin to fetch from); false for a
local checkout. Drives whether freshness is checked via git ls-remote.
Auto Trait Implementations§
impl Freeze for PreparedRepo
impl RefUnwindSafe for PreparedRepo
impl Send for PreparedRepo
impl Sync for PreparedRepo
impl Unpin for PreparedRepo
impl UnsafeUnpin for PreparedRepo
impl UnwindSafe for PreparedRepo
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