pub struct AuthorStats {
pub loc: usize,
pub commits: usize,
pub files: HashSet<String>,
}
Expand description
Represents the statistics for a single author.
Fields§
§loc: usize
§commits: usize
§files: HashSet<String>
Implementations§
Trait Implementations§
Source§impl Clone for AuthorStats
impl Clone for AuthorStats
Source§fn clone(&self) -> AuthorStats
fn clone(&self) -> AuthorStats
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 moreSource§impl Debug for AuthorStats
impl Debug for AuthorStats
Source§impl Default for AuthorStats
impl Default for AuthorStats
Source§fn default() -> AuthorStats
fn default() -> AuthorStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuthorStats
impl RefUnwindSafe for AuthorStats
impl Send for AuthorStats
impl Sync for AuthorStats
impl Unpin for AuthorStats
impl UnwindSafe for AuthorStats
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