pub struct Author {
pub id: u32,
pub canonical_name: String,
pub canonical_email: String,
pub aliases: Vec<RawIdentity>,
pub counts: AuthorLineCounts,
}Expand description
A resolved contributor: one human, possibly spanning several raw git identities that were auto-merged because they share a normalized email. Cross-email merges (corporate login vs. full name vs. last name) are a follow-up interactive step; Phase 1 only auto-merges the high-confidence same-email case, which is always safe.
Fields§
§id: u32Stable index into AnalysisRun::authors; authors are ordered by code lines owned.
canonical_name: String§canonical_email: String§aliases: Vec<RawIdentity>Every raw (name, email) pair folded into this author.
counts: AuthorLineCountsRepo-wide roll-up across all files.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Author
impl<'de> Deserialize<'de> for Author
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Author
impl RefUnwindSafe for Author
impl Send for Author
impl Sync for Author
impl Unpin for Author
impl UnsafeUnpin for Author
impl UnwindSafe for Author
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