pub struct DeckDiff {
pub toml_only: Vec<NoteDiff>,
pub anki_only: Vec<NoteDiff>,
pub modified: Vec<ModifiedNote>,
pub unchanged: usize,
}Expand description
Result of comparing a TOML definition against Anki state.
Fields§
§toml_only: Vec<NoteDiff>Notes in TOML but not in Anki.
anki_only: Vec<NoteDiff>Notes in Anki but not in TOML.
modified: Vec<ModifiedNote>Notes that exist in both but have differences.
unchanged: usizeNumber of notes that are identical.
Trait Implementations§
Auto Trait Implementations§
impl Forget for DeckDiff
impl Freeze for DeckDiff
impl RefUnwindSafe for DeckDiff
impl Send for DeckDiff
impl Sync for DeckDiff
impl Unpin for DeckDiff
impl UnsafeUnpin for DeckDiff
impl UnwindSafe for DeckDiff
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