pub struct AuthorContribution {
pub author: AuthorId,
pub deliveries: u32,
pub first_authorship: bool,
}Available on crate feature
vcs-git only.Expand description
One developer’s authorship inputs for a single file.
Fields§
Canonical author identity (already bot-filtered, mailmap-resolved).
deliveries: u32Number of in-window commits this developer participated in for the
file (DL).
Whether this developer authored the file’s earliest observed
in-window commit (FA).
Trait Implementations§
Source§impl Clone for AuthorContribution
impl Clone for AuthorContribution
Source§fn clone(&self) -> AuthorContribution
fn clone(&self) -> AuthorContribution
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 AuthorContribution
impl Debug for AuthorContribution
impl Eq for AuthorContribution
Source§impl PartialEq for AuthorContribution
impl PartialEq for AuthorContribution
impl StructuralPartialEq for AuthorContribution
Auto Trait Implementations§
impl Freeze for AuthorContribution
impl RefUnwindSafe for AuthorContribution
impl Send for AuthorContribution
impl Sync for AuthorContribution
impl Unpin for AuthorContribution
impl UnsafeUnpin for AuthorContribution
impl UnwindSafe for AuthorContribution
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.