pub struct SearchCustomersTextFilter {
pub exact: Option<String>,
pub fuzzy: Option<String>,
}
Fields§
§exact: Option<String>
For exact matching, this filter causes the search to return customer profiles whose field value are identical to the value provided in the query.
fuzzy: Option<String>
For fuzzy matching, this filter causes the search to return customer profiles whose field value has a token-wise partial match against the filtering expression in the query For example with email address, with Steven gmail provided in a search query,the search returns customers whose email address can be steven.johnson@gmail.com or mygmail@stevensbakery.com.
Trait Implementations§
Source§impl Clone for SearchCustomersTextFilter
impl Clone for SearchCustomersTextFilter
Source§fn clone(&self) -> SearchCustomersTextFilter
fn clone(&self) -> SearchCustomersTextFilter
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SearchCustomersTextFilter
impl Debug for SearchCustomersTextFilter
Source§impl Default for SearchCustomersTextFilter
impl Default for SearchCustomersTextFilter
Source§fn default() -> SearchCustomersTextFilter
fn default() -> SearchCustomersTextFilter
Returns the “default value” for a type. Read more
impl Eq for SearchCustomersTextFilter
impl StructuralPartialEq for SearchCustomersTextFilter
Auto Trait Implementations§
impl Freeze for SearchCustomersTextFilter
impl RefUnwindSafe for SearchCustomersTextFilter
impl Send for SearchCustomersTextFilter
impl Sync for SearchCustomersTextFilter
impl Unpin for SearchCustomersTextFilter
impl UnwindSafe for SearchCustomersTextFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.