pub struct RetentionStats {
pub total_cards: usize,
pub total_reviews: usize,
pub total_lapses: usize,
pub avg_ease: i64,
pub avg_interval: i64,
pub retention_rate: f64,
}Expand description
Retention statistics for a deck.
Fields§
§total_cards: usizeTotal number of review cards.
total_reviews: usizeTotal number of reviews.
total_lapses: usizeTotal number of lapses.
avg_ease: i64Average ease factor (percentage * 10).
avg_interval: i64Average interval in days.
retention_rate: f64Estimated retention rate (0.0 - 1.0).
Trait Implementations§
Source§impl Clone for RetentionStats
impl Clone for RetentionStats
Source§fn clone(&self) -> RetentionStats
fn clone(&self) -> RetentionStats
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 RetentionStats
impl Debug for RetentionStats
Source§impl Default for RetentionStats
impl Default for RetentionStats
Source§fn default() -> RetentionStats
fn default() -> RetentionStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RetentionStats
impl RefUnwindSafe for RetentionStats
impl Send for RetentionStats
impl Sync for RetentionStats
impl Unpin for RetentionStats
impl UnwindSafe for RetentionStats
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