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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ValidationMethod
impl Debug for ValidationMethod
sourceimpl PartialEq<ValidationMethod> for ValidationMethod
impl PartialEq<ValidationMethod> for ValidationMethod
sourcefn eq(&self, other: &ValidationMethod) -> bool
fn eq(&self, other: &ValidationMethod) -> bool
sourceimpl Serialize for ValidationMethod
impl Serialize for ValidationMethod
impl Eq for ValidationMethod
impl StructuralEq 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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