pub enum DuplicateScope {
Deck,
Collection,
}
Expand description
Controls how duplicate notes are detected when adding new notes.
Variants§
Deck
Check for duplicates only within the specified deck
Collection
Check for duplicates across the entire collection
Trait Implementations§
Source§impl Clone for DuplicateScope
impl Clone for DuplicateScope
Source§fn clone(&self) -> DuplicateScope
fn clone(&self) -> DuplicateScope
Returns a copy 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 DuplicateScope
impl Debug for DuplicateScope
Source§impl PartialEq for DuplicateScope
impl PartialEq for DuplicateScope
impl Copy for DuplicateScope
impl Eq for DuplicateScope
impl StructuralPartialEq for DuplicateScope
Auto Trait Implementations§
impl Freeze for DuplicateScope
impl RefUnwindSafe for DuplicateScope
impl Send for DuplicateScope
impl Sync for DuplicateScope
impl Unpin for DuplicateScope
impl UnwindSafe for DuplicateScope
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