pub struct RepoInfo { /* private fields */ }Expand description
Repository metadata.
Implementations§
Source§impl RepoInfo
impl RepoInfo
Sourcepub fn default_branch(&self) -> &str
pub fn default_branch(&self) -> &str
Default branch name.
Sourcepub fn commit_count(&self) -> usize
pub fn commit_count(&self) -> usize
Commit count on default branch.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepoInfo
impl RefUnwindSafe for RepoInfo
impl Send for RepoInfo
impl Sync for RepoInfo
impl Unpin for RepoInfo
impl UnwindSafe for RepoInfo
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