pub struct RecentActivity {
pub quiet_day_count: u32,
pub recent_contributions: u64,
pub complete_week_contributions: Vec<u64>,
pub observation_week_contributions: Vec<u64>,
}Expand description
Recent activity as of the observation date, as counts rather than judgments.
Fields§
§quiet_day_count: u32Days in the run of contribution-free days that ends on the observation date; an account that has never contributed counts every observed day.
recent_contributions: u64Contributions in the seven days ending on the observation date.
complete_week_contributions: Vec<u64>Contributions in each complete Monday-Sunday week, oldest first. The observation week is still in progress and is left out.
observation_week_contributions: Vec<u64>Each observed day of the observation week, from Monday through the observation date.
Trait Implementations§
Source§impl Debug for RecentActivity
impl Debug for RecentActivity
impl Eq for RecentActivity
Source§impl PartialEq for RecentActivity
impl PartialEq for RecentActivity
impl StructuralPartialEq for RecentActivity
Auto Trait Implementations§
impl Freeze for RecentActivity
impl RefUnwindSafe for RecentActivity
impl Send for RecentActivity
impl Sync for RecentActivity
impl Unpin for RecentActivity
impl UnsafeUnpin for RecentActivity
impl UnwindSafe for RecentActivity
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