pub struct RepositoryStats {
pub revision_count: u32,
pub file_count: u32,
pub committers: Option<HashMap<String, u32>>,
}Expand description
Statistics about a repository.
Fields§
§revision_count: u32Number of revisions in the repository.
file_count: u32Number of files in the repository.
committers: Option<HashMap<String, u32>>Committer statistics, if requested.
Trait Implementations§
Source§impl Clone for RepositoryStats
impl Clone for RepositoryStats
Source§fn clone(&self) -> RepositoryStats
fn clone(&self) -> RepositoryStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RepositoryStats
impl RefUnwindSafe for RepositoryStats
impl Send for RepositoryStats
impl Sync for RepositoryStats
impl Unpin for RepositoryStats
impl UnsafeUnpin for RepositoryStats
impl UnwindSafe for RepositoryStats
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