pub struct StreakDevelopment {
pub longest: Vec<ContributionWeek>,
pub recent: Option<RecentStreak>,
}Expand description
Weekly streaks: runs of consecutive Monday-Sunday weeks with at least one active day.
Fields§
§longest: Vec<ContributionWeek>The earliest longest run, replaced only by a strictly longer run.
recent: Option<RecentStreak>None means no observed active week, not missing history.
Trait Implementations§
Source§impl Debug for StreakDevelopment
impl Debug for StreakDevelopment
impl Eq for StreakDevelopment
Source§impl PartialEq for StreakDevelopment
impl PartialEq for StreakDevelopment
impl StructuralPartialEq for StreakDevelopment
Auto Trait Implementations§
impl Freeze for StreakDevelopment
impl RefUnwindSafe for StreakDevelopment
impl Send for StreakDevelopment
impl Sync for StreakDevelopment
impl Unpin for StreakDevelopment
impl UnsafeUnpin for StreakDevelopment
impl UnwindSafe for StreakDevelopment
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