pub struct StudyReport {Show 16 fields
pub deck: String,
pub period_days: u32,
pub total_reviews: usize,
pub total_time_minutes: u64,
pub average_reviews_per_day: f64,
pub study_streak: u32,
pub retention_rate: f64,
pub average_ease: f64,
pub new_cards_studied: usize,
pub review_cards_studied: usize,
pub relearning_cards: usize,
pub leeches: Vec<i64>,
pub low_ease_cards: Vec<i64>,
pub due_tomorrow: usize,
pub due_this_week: usize,
pub daily_stats: Vec<ReportDailyStats>,
}Expand description
Comprehensive study report combining multiple statistics.
Provides a complete overview of study activity, performance, problem areas, and upcoming workload for a deck over a specified time period.
Fields§
§deck: StringThe deck name (or “*” for all decks).
period_days: u32Number of days covered by this report.
total_reviews: usizeTotal number of reviews in the period.
total_time_minutes: u64Total time spent studying in minutes.
average_reviews_per_day: f64Average reviews per day.
study_streak: u32Consecutive days with at least one review.
retention_rate: f64Estimated retention rate (0.0 - 1.0).
average_ease: f64Average ease factor (percentage * 10, e.g., 2500 = 250%).
new_cards_studied: usizeNumber of new cards studied in the period.
review_cards_studied: usizeNumber of review cards studied in the period.
relearning_cards: usizeNumber of cards in relearning state.
leeches: Vec<i64>Card IDs flagged as leeches (high lapses).
low_ease_cards: Vec<i64>Card IDs with low ease factor (below 200%).
due_tomorrow: usizeNumber of cards due tomorrow.
due_this_week: usizeNumber of cards due within the next 7 days.
daily_stats: Vec<ReportDailyStats>Statistics for each day in the period.
Trait Implementations§
Source§impl Clone for StudyReport
impl Clone for StudyReport
Source§fn clone(&self) -> StudyReport
fn clone(&self) -> StudyReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more