pub struct NoteOptions {
pub allow_duplicate: Option<bool>,
pub duplicate_scope: Option<DuplicateScope>,
pub duplicate_scope_options: Option<DuplicateScopeOptions>,
}Expand description
Options for adding notes.
Fields§
§allow_duplicate: Option<bool>Allow duplicate notes.
duplicate_scope: Option<DuplicateScope>Scope for duplicate checking.
duplicate_scope_options: Option<DuplicateScopeOptions>Additional options for duplicate scope.
Trait Implementations§
Source§impl Clone for NoteOptions
impl Clone for NoteOptions
Source§fn clone(&self) -> NoteOptions
fn clone(&self) -> NoteOptions
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 NoteOptions
impl Debug for NoteOptions
Source§impl Default for NoteOptions
impl Default for NoteOptions
Source§fn default() -> NoteOptions
fn default() -> NoteOptions
Returns the “default value” for a type. Read more
Source§impl Serialize for NoteOptions
impl Serialize for NoteOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for NoteOptions
impl RefUnwindSafe for NoteOptions
impl Send for NoteOptions
impl Sync for NoteOptions
impl Unpin for NoteOptions
impl UnwindSafe for NoteOptions
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