pub struct AddNoteOptions {
pub allow_duplicate: bool,
pub duplicate_scope: AddNoteDuplicateScope,
pub duplicate_scope_options: AddNoteDuplicateScopeOptions,
}Expand description
Extra options for the note.
Fields§
§allow_duplicate: boolWhether to check for duplicate notes.
duplicate_scope: AddNoteDuplicateScopeSpecify the scope for which duplicates are checked. A value of “deck” will only check for duplicates in the target deck; any other value will check the entire collection.
duplicate_scope_options: AddNoteDuplicateScopeOptionsAdditional options to customize the duplicate check.
Trait Implementations§
Source§impl Clone for AddNoteOptions
impl Clone for AddNoteOptions
Source§fn clone(&self) -> AddNoteOptions
fn clone(&self) -> AddNoteOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddNoteOptions
impl Debug for AddNoteOptions
Source§impl Default for AddNoteOptions
impl Default for AddNoteOptions
Source§fn default() -> AddNoteOptions
fn default() -> AddNoteOptions
Returns the “default value” for a type. Read more
impl Eq for AddNoteOptions
Source§impl PartialEq for AddNoteOptions
impl PartialEq for AddNoteOptions
Source§fn eq(&self, other: &AddNoteOptions) -> bool
fn eq(&self, other: &AddNoteOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AddNoteOptions
impl Serialize for AddNoteOptions
impl StructuralPartialEq for AddNoteOptions
Auto Trait Implementations§
impl Freeze for AddNoteOptions
impl RefUnwindSafe for AddNoteOptions
impl Send for AddNoteOptions
impl Sync for AddNoteOptions
impl Unpin for AddNoteOptions
impl UnsafeUnpin for AddNoteOptions
impl UnwindSafe for AddNoteOptions
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