pub struct SmartAddOptions {
pub check_duplicates: bool,
pub suggest_tags: bool,
pub reject_on_duplicate: bool,
pub check_empty_fields: bool,
}Expand description
Options for smart add operation.
Fields§
§check_duplicates: boolCheck for duplicate notes before adding.
Suggest tags based on similar notes.
reject_on_duplicate: boolReject the note if a duplicate is found (otherwise add with warning).
check_empty_fields: boolCheck for empty required fields.
Trait Implementations§
Source§impl Clone for SmartAddOptions
impl Clone for SmartAddOptions
Source§fn clone(&self) -> SmartAddOptions
fn clone(&self) -> SmartAddOptions
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 SmartAddOptions
impl Debug for SmartAddOptions
Auto Trait Implementations§
impl Freeze for SmartAddOptions
impl RefUnwindSafe for SmartAddOptions
impl Send for SmartAddOptions
impl Sync for SmartAddOptions
impl Unpin for SmartAddOptions
impl UnwindSafe for SmartAddOptions
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