Enum elasticsearch_dsl::search::queries::params::ValidationMethod
source · [−]pub enum ValidationMethod {
IgnoreMalformed,
Coerce,
Strict,
}
Expand description
Strategies to verify the correctness of coordinates
Variants
IgnoreMalformed
accept geo points with invalid latitude or longitude
Coerce
try to infer correct latitude or longitude
Strict
strict mode
Trait Implementations
sourceimpl Clone for ValidationMethod
impl Clone for ValidationMethod
sourcefn clone(&self) -> ValidationMethod
fn clone(&self) -> ValidationMethod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ValidationMethod
impl Debug for ValidationMethod
sourceimpl PartialEq<ValidationMethod> for ValidationMethod
impl PartialEq<ValidationMethod> for ValidationMethod
sourceimpl Serialize for ValidationMethod
impl Serialize for ValidationMethod
impl StructuralPartialEq for ValidationMethod
Auto Trait Implementations
impl RefUnwindSafe for ValidationMethod
impl Send for ValidationMethod
impl Sync for ValidationMethod
impl Unpin for ValidationMethod
impl UnwindSafe for ValidationMethod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more