pub struct Contributor {}Expand description
One merged contributor identity, ready for rendering. Also reused for affiliation aggregates, where one “row” stands for a whole organisation.
Fields§
§name: String§login: Option<String>§avatar: Option<String>§url: Option<String>§first: i64§last: i64§commits: u32§bot: bool§group: Option<String>§members: u32Number of people behind this row (1 for an individual; N for an affiliation aggregate).
member_names: Vec<String>Names of the largest contributors in an aggregate (for tooltips).
m0: i32Month index (months since 1970-01) of the first entry in months.
months: Vec<u32>Commits per calendar month, from m0 through the last active month.
Trait Implementations§
Source§impl Clone for Contributor
impl Clone for Contributor
Source§fn clone(&self) -> Contributor
fn clone(&self) -> Contributor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Contributor
impl Debug for Contributor
Auto Trait Implementations§
impl Freeze for Contributor
impl RefUnwindSafe for Contributor
impl Send for Contributor
impl Sync for Contributor
impl Unpin for Contributor
impl UnsafeUnpin for Contributor
impl UnwindSafe for Contributor
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