pub enum SearchFieldType {
String,
Number,
Date,
Boolean,
ObjectId,
Geo,
Autocomplete,
}Expand description
Atlas Search field types.
Variants§
String
String/text field.
Number
Number field.
Date
Date field.
Boolean
Boolean field.
ObjectId
ObjectId field.
Geo
Geo field.
Autocomplete
Autocomplete field.
Implementations§
Trait Implementations§
Source§impl Clone for SearchFieldType
impl Clone for SearchFieldType
Source§fn clone(&self) -> SearchFieldType
fn clone(&self) -> SearchFieldType
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 SearchFieldType
impl Debug for SearchFieldType
Source§impl<'de> Deserialize<'de> for SearchFieldType
impl<'de> Deserialize<'de> for SearchFieldType
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 PartialEq for SearchFieldType
impl PartialEq for SearchFieldType
Source§impl Serialize for SearchFieldType
impl Serialize for SearchFieldType
impl Copy for SearchFieldType
impl Eq for SearchFieldType
impl StructuralPartialEq for SearchFieldType
Auto Trait Implementations§
impl Freeze for SearchFieldType
impl RefUnwindSafe for SearchFieldType
impl Send for SearchFieldType
impl Sync for SearchFieldType
impl Unpin for SearchFieldType
impl UnwindSafe for SearchFieldType
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