pub struct FreshnessMetrics {
pub most_recent_update: Option<DateTime<Utc>>,
pub oldest_open_issue: Option<DateTime<Utc>>,
pub avg_days_since_update: f64,
pub stale_count: i32,
pub stale_threshold_days: i64,
pub freshness_score: i32,
}Fields§
§most_recent_update: Option<DateTime<Utc>>§oldest_open_issue: Option<DateTime<Utc>>§avg_days_since_update: f64§stale_count: i32§stale_threshold_days: i64§freshness_score: i32Trait Implementations§
Source§impl Clone for FreshnessMetrics
impl Clone for FreshnessMetrics
Source§fn clone(&self) -> FreshnessMetrics
fn clone(&self) -> FreshnessMetrics
Returns a duplicate of the value. Read more
1.0.0 · 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 FreshnessMetrics
impl Debug for FreshnessMetrics
Auto Trait Implementations§
impl Freeze for FreshnessMetrics
impl RefUnwindSafe for FreshnessMetrics
impl Send for FreshnessMetrics
impl Sync for FreshnessMetrics
impl Unpin for FreshnessMetrics
impl UnsafeUnpin for FreshnessMetrics
impl UnwindSafe for FreshnessMetrics
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