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§
source§impl Clone for ValidationMethod
impl Clone for ValidationMethod
source§fn clone(&self) -> ValidationMethod
fn clone(&self) -> ValidationMethod
Returns a copy 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 more