pub struct IndexOptions {
pub unique: bool,
pub sparse: bool,
pub case_insensitive: bool,
}Fields§
§unique: bool§sparse: bool§case_insensitive: boolTrait Implementations§
Source§impl Clone for IndexOptions
impl Clone for IndexOptions
Source§fn clone(&self) -> IndexOptions
fn clone(&self) -> IndexOptions
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 IndexOptions
impl Debug for IndexOptions
Source§impl<'de> Deserialize<'de> for IndexOptions
impl<'de> Deserialize<'de> for IndexOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for IndexOptions
impl Hash for IndexOptions
Source§impl PartialEq for IndexOptions
impl PartialEq for IndexOptions
Source§fn eq(&self, other: &IndexOptions) -> bool
fn eq(&self, other: &IndexOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IndexOptions
impl Serialize for IndexOptions
impl Eq for IndexOptions
impl StructuralPartialEq for IndexOptions
Auto Trait Implementations§
impl Freeze for IndexOptions
impl RefUnwindSafe for IndexOptions
impl Send for IndexOptions
impl Sync for IndexOptions
impl Unpin for IndexOptions
impl UnsafeUnpin for IndexOptions
impl UnwindSafe for IndexOptions
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