pub struct DeckAudit {Show 14 fields
pub deck: String,
pub total_cards: usize,
pub total_notes: usize,
pub cards_by_model: HashMap<String, usize>,
pub tag_distribution: HashMap<String, usize>,
pub untagged_notes: usize,
pub empty_field_counts: HashMap<String, usize>,
pub duplicate_count: usize,
pub leech_count: usize,
pub suspended_count: usize,
pub new_cards: usize,
pub learning_cards: usize,
pub review_cards: usize,
pub average_ease: f64,
}Expand description
Comprehensive audit of a deck’s contents and health.
Combines multiple analyses into a single report including card counts, tag distribution, empty fields, duplicates, and scheduling state.
Fields§
§deck: StringThe deck name.
total_cards: usizeTotal number of cards.
total_notes: usizeTotal number of notes.
cards_by_model: HashMap<String, usize>Number of cards per note type (model).
tag_distribution: HashMap<String, usize>Number of notes per tag.
untagged_notes: usizeNumber of notes without any tags.
empty_field_counts: HashMap<String, usize>Number of notes with each field empty (field name -> count).
duplicate_count: usizeNumber of potential duplicate notes detected.
leech_count: usizeNumber of leech cards (high lapses).
suspended_count: usizeNumber of suspended cards.
new_cards: usizeNumber of new cards (never reviewed).
learning_cards: usizeNumber of cards in learning phase.
review_cards: usizeNumber of review cards.
average_ease: f64Average ease factor (percentage * 10, e.g., 2500 = 250%).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeckAudit
impl RefUnwindSafe for DeckAudit
impl Send for DeckAudit
impl Sync for DeckAudit
impl Unpin for DeckAudit
impl UnwindSafe for DeckAudit
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