pub struct HistoryMetrics {Show 15 fields
pub first_seen_timestamp: Option<i64>,
pub age_days: u64,
pub revisions_window: usize,
pub recency_weighted_commits: f64,
pub added_window: usize,
pub deleted_window: usize,
pub line_churn_window: usize,
pub token_churn_window: usize,
pub relative_churn_window: f64,
pub late_churn_spike: f64,
pub author_count_window: usize,
pub author_entropy: f64,
pub top_author_share: f64,
pub days_since_non_bot_edit: Option<u64>,
pub recent_maintainer_diversity: usize,
}Fields§
§first_seen_timestamp: Option<i64>§age_days: u64§revisions_window: usize§recency_weighted_commits: f64§added_window: usize§deleted_window: usize§line_churn_window: usize§token_churn_window: usize§relative_churn_window: f64§late_churn_spike: f64§days_since_non_bot_edit: Option<u64>§recent_maintainer_diversity: usizeTrait Implementations§
Source§impl Clone for HistoryMetrics
impl Clone for HistoryMetrics
Source§fn clone(&self) -> HistoryMetrics
fn clone(&self) -> HistoryMetrics
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 HistoryMetrics
impl Debug for HistoryMetrics
Source§impl Default for HistoryMetrics
impl Default for HistoryMetrics
Source§fn default() -> HistoryMetrics
fn default() -> HistoryMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HistoryMetrics
impl<'de> Deserialize<'de> for HistoryMetrics
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 HistoryMetrics
impl RefUnwindSafe for HistoryMetrics
impl Send for HistoryMetrics
impl Sync for HistoryMetrics
impl Unpin for HistoryMetrics
impl UnsafeUnpin for HistoryMetrics
impl UnwindSafe for HistoryMetrics
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