pub struct SyncPlan {
pub to_push: Vec<SyncNote>,
pub to_pull: Vec<SyncNote>,
pub conflicts: Vec<SyncConflict>,
pub unchanged: usize,
}Expand description
A plan for what sync would do, without executing it.
Fields§
§to_push: Vec<SyncNote>Notes that would be pushed from TOML to Anki.
to_pull: Vec<SyncNote>Notes that would be pulled from Anki to TOML.
conflicts: Vec<SyncConflict>Notes that have conflicts (modified in both places).
unchanged: usizeNumber of notes that are identical (no action needed).
Trait Implementations§
Auto Trait Implementations§
impl Forget for SyncPlan
impl Freeze for SyncPlan
impl RefUnwindSafe for SyncPlan
impl Send for SyncPlan
impl Sync for SyncPlan
impl Unpin for SyncPlan
impl UnsafeUnpin for SyncPlan
impl UnwindSafe for SyncPlan
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