pub struct Opts {
pub max_distance_threshold_meters: Option<f64>,
pub number_results: Option<usize>,
}Expand description
Options for filtering results
Fields§
§max_distance_threshold_meters: Option<f64>Distance in meters to consider in calculation. Results that exceed this threshold will be omitted
number_results: Option<usize>Total number of results required. There is no default, so you likely want to set this
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Opts
impl RefUnwindSafe for Opts
impl Send for Opts
impl Sync for Opts
impl Unpin for Opts
impl UnsafeUnpin for Opts
impl UnwindSafe for Opts
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