Struct depdive::github::ActivityMetrics [−][src]
pub struct ActivityMetrics { pub days_since_last_commit: u64, pub days_since_last_open_issue: Option<u64>, pub open_issues_labeled_bug: u64, pub open_issues_labeled_security: u64, pub recent_activity: RecentActivity, }
Fields
days_since_last_commit: u64
days_since_last_open_issue: Option<u64>
open_issues_labeled_bug: u64
open_issues_labeled_security: u64
recent_activity: RecentActivity
Trait Implementations
Returns the “default value” for a type. Read more
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 RefUnwindSafe for ActivityMetrics
impl Send for ActivityMetrics
impl Sync for ActivityMetrics
impl Unpin for ActivityMetrics
impl UnwindSafe for ActivityMetrics
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more