pub struct ContributorEntry {
pub identifier: String,
pub format: ContributorIdentifierFormat,
pub share: f64,
pub stale_days: u64,
pub commits: u32,
}Expand description
One contributor row in ownership metrics.
Fields§
§identifier: StringContributor identifier, encoded per format.
format: ContributorIdentifierFormatHow identifier is encoded (raw, handle, anonymized, or hash).
Contributor’s share of the file’s commits, in [0, 1].
stale_days: u64Days since the contributor’s last commit to the file.
commits: u32Contributor’s commits touching the file in the window.
Trait Implementations§
Source§impl Clone for ContributorEntry
impl Clone for ContributorEntry
Source§impl Debug for ContributorEntry
impl Debug for ContributorEntry
Source§impl<'de> Deserialize<'de> for ContributorEntry
impl<'de> Deserialize<'de> for ContributorEntry
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 ContributorEntry
impl RefUnwindSafe for ContributorEntry
impl Send for ContributorEntry
impl Sync for ContributorEntry
impl Unpin for ContributorEntry
impl UnsafeUnpin for ContributorEntry
impl UnwindSafe for ContributorEntry
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