pub struct AuthorSummary {
pub author: String,
pub email: String,
pub total_commits: u32,
pub total_lines_added: u32,
pub total_lines_deleted: u32,
pub overall_contribution_percent: f64,
pub preferred_repo: String,
pub preferred_repo_percent: f64,
}
Fields§
§email: String
§total_commits: u32
§total_lines_added: u32
§total_lines_deleted: u32
§overall_contribution_percent: f64
§preferred_repo: String
§preferred_repo_percent: f64
Trait Implementations§
Source§impl Clone for AuthorSummary
impl Clone for AuthorSummary
Source§fn clone(&self) -> AuthorSummary
fn clone(&self) -> AuthorSummary
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 AuthorSummary
impl RefUnwindSafe for AuthorSummary
impl Send for AuthorSummary
impl Sync for AuthorSummary
impl Unpin for AuthorSummary
impl UnwindSafe for AuthorSummary
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