pub struct HealthReport {
pub deck: String,
pub total_cards: usize,
pub new_cards: usize,
pub learning_cards: usize,
pub review_cards: usize,
pub suspended_cards: usize,
pub buried_cards: usize,
pub avg_ease: i64,
pub avg_interval: i64,
pub leech_count: usize,
pub total_lapses: i64,
pub total_reps: i64,
}Expand description
Comprehensive health report for a deck.
Fields§
§deck: StringDeck name.
total_cards: usizeTotal number of cards.
new_cards: usizeNumber of new cards.
learning_cards: usizeNumber of learning cards.
review_cards: usizeNumber of review cards.
suspended_cards: usizeNumber of suspended cards.
buried_cards: usizeNumber of buried cards.
avg_ease: i64Average ease factor (percentage * 10).
avg_interval: i64Average interval in days.
leech_count: usizeNumber of leech cards (high lapses).
total_lapses: i64Total lapses across all cards.
total_reps: i64Total reviews across all cards.
Trait Implementations§
Source§impl Clone for HealthReport
impl Clone for HealthReport
Source§fn clone(&self) -> HealthReport
fn clone(&self) -> HealthReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HealthReport
impl Debug for HealthReport
Source§impl Default for HealthReport
impl Default for HealthReport
Source§fn default() -> HealthReport
fn default() -> HealthReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HealthReport
impl RefUnwindSafe for HealthReport
impl Send for HealthReport
impl Sync for HealthReport
impl Unpin for HealthReport
impl UnwindSafe for HealthReport
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