pub struct RepoStats {
pub authors: Vec<AuthorStats>,
pub total_commits: usize,
pub total_insertions: usize,
pub total_deletions: usize,
}Expand description
リポジトリ全体の統計情報
Fields§
著者別統計(コミット数降順)
total_commits: usize総コミット数
total_insertions: usize総追加行数
total_deletions: usize総削除行数
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepoStats
impl RefUnwindSafe for RepoStats
impl Send for RepoStats
impl Sync for RepoStats
impl Unpin for RepoStats
impl UnwindSafe for RepoStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more