#[non_exhaustive]pub struct GeoDistanceQuery {
pub boost: Option<f32>,
pub field: Option<String>,
pub location: Location,
pub distance: String,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.boost: Option<f32>§field: Option<String>§location: Location§distance: StringImplementations§
Trait Implementations§
Source§impl Clone for GeoDistanceQuery
impl Clone for GeoDistanceQuery
Source§fn clone(&self) -> GeoDistanceQuery
fn clone(&self) -> GeoDistanceQuery
Returns a duplicate 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 GeoDistanceQuery
impl Debug for GeoDistanceQuery
Source§impl PartialEq for GeoDistanceQuery
impl PartialEq for GeoDistanceQuery
Source§impl Serialize for GeoDistanceQuery
impl Serialize for GeoDistanceQuery
impl StructuralPartialEq for GeoDistanceQuery
Auto Trait Implementations§
impl Freeze for GeoDistanceQuery
impl RefUnwindSafe for GeoDistanceQuery
impl Send for GeoDistanceQuery
impl Sync for GeoDistanceQuery
impl Unpin for GeoDistanceQuery
impl UnsafeUnpin for GeoDistanceQuery
impl UnwindSafe for GeoDistanceQuery
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