pub struct ImportReport {
pub added: usize,
pub skipped: usize,
pub updated: usize,
pub failed: usize,
pub failures: Vec<ImportFailure>,
}Expand description
Report of an import operation.
Fields§
§added: usizeNumber of notes successfully added.
skipped: usizeNumber of notes skipped (duplicates).
updated: usizeNumber of notes updated (when using OnDuplicate::Update).
failed: usizeNumber of notes that failed to import.
failures: Vec<ImportFailure>Details about failed imports.
Trait Implementations§
Source§impl Clone for ImportReport
impl Clone for ImportReport
Source§fn clone(&self) -> ImportReport
fn clone(&self) -> ImportReport
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 ImportReport
impl Debug for ImportReport
Source§impl Default for ImportReport
impl Default for ImportReport
Source§fn default() -> ImportReport
fn default() -> ImportReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImportReport
impl RefUnwindSafe for ImportReport
impl Send for ImportReport
impl Sync for ImportReport
impl Unpin for ImportReport
impl UnwindSafe for ImportReport
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