pub struct RestaurantQuery {
pub text: Option<String>,
pub near: Option<Near>,
pub namespace: Option<String>,
pub limit: Option<usize>,
}Expand description
A restaurant query. All fields are optional filters.
Fields§
§text: Option<String>Free text matched against name and cuisines.
near: Option<Near>§namespace: Option<String>§limit: Option<usize>Trait Implementations§
Source§impl Clone for RestaurantQuery
impl Clone for RestaurantQuery
Source§impl Debug for RestaurantQuery
impl Debug for RestaurantQuery
Auto Trait Implementations§
impl Freeze for RestaurantQuery
impl RefUnwindSafe for RestaurantQuery
impl Send for RestaurantQuery
impl Sync for RestaurantQuery
impl Unpin for RestaurantQuery
impl UnsafeUnpin for RestaurantQuery
impl UnwindSafe for RestaurantQuery
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