pub struct ContributionWeek {
pub iso_week: IsoWeek,
pub active_day_count: u8,
pub observed_day_count: u8,
}Expand description
Participation in one Monday-Sunday week, including explicitly inactive weeks.
observed_day_count distinguishes partial calendar coverage from a full week.
A week matching the summary’s observation week is still in progress.
Fields§
§iso_week: IsoWeekThe ISO week the participation falls in.
active_day_count: u8Observed days in the week with at least one contribution.
observed_day_count: u8Days of the week the history covers; seven for a complete week.
Trait Implementations§
Source§impl Clone for ContributionWeek
impl Clone for ContributionWeek
Source§impl Debug for ContributionWeek
impl Debug for ContributionWeek
impl Eq for ContributionWeek
Source§impl PartialEq for ContributionWeek
impl PartialEq for ContributionWeek
impl StructuralPartialEq for ContributionWeek
Auto Trait Implementations§
impl Freeze for ContributionWeek
impl RefUnwindSafe for ContributionWeek
impl Send for ContributionWeek
impl Sync for ContributionWeek
impl Unpin for ContributionWeek
impl UnsafeUnpin for ContributionWeek
impl UnwindSafe for ContributionWeek
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