pub struct ItemQuery {
pub text: Option<String>,
pub near: Option<Near>,
pub max_price_minor: Option<i64>,
pub available_only: bool,
pub restaurant_id: Option<String>,
pub limit: Option<usize>,
}Expand description
An item query.
Fields§
§text: Option<String>Free text matched against item name and description.
near: Option<Near>§max_price_minor: Option<i64>Effective (discounted if any) price at most this, in minor units.
available_only: bool§restaurant_id: Option<String>§limit: Option<usize>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ItemQuery
impl RefUnwindSafe for ItemQuery
impl Send for ItemQuery
impl Sync for ItemQuery
impl Unpin for ItemQuery
impl UnsafeUnpin for ItemQuery
impl UnwindSafe for ItemQuery
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