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 moreSource§impl Debug for ValidationMethod
impl Debug for ValidationMethod
Source§impl PartialEq for ValidationMethod
impl PartialEq for ValidationMethod
Source§impl Serialize for ValidationMethod
impl Serialize for ValidationMethod
impl Eq for ValidationMethod
impl StructuralPartialEq for ValidationMethod
Auto Trait Implementations§
impl Freeze for ValidationMethod
impl RefUnwindSafe for ValidationMethod
impl Send for ValidationMethod
impl Sync for ValidationMethod
impl Unpin for ValidationMethod
impl UnwindSafe for ValidationMethod
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