pub struct RestaurantHit {
pub row: RestaurantRow,
pub fetched_at: i64,
}Expand description
A restaurant from the catalog. Location-dependent fields come from the sighting nearest the query point when there is one.
Fields§
§row: RestaurantRow§fetched_at: i64When this row (or the sighting used) was last fetched.
Trait Implementations§
Source§impl Clone for RestaurantHit
impl Clone for RestaurantHit
Source§impl Debug for RestaurantHit
impl Debug for RestaurantHit
Source§impl Default for RestaurantHit
impl Default for RestaurantHit
Source§impl PartialEq for RestaurantHit
impl PartialEq for RestaurantHit
Source§impl Serialize for RestaurantHit
impl Serialize for RestaurantHit
impl StructuralPartialEq for RestaurantHit
Auto Trait Implementations§
impl Freeze for RestaurantHit
impl RefUnwindSafe for RestaurantHit
impl Send for RestaurantHit
impl Sync for RestaurantHit
impl Unpin for RestaurantHit
impl UnsafeUnpin for RestaurantHit
impl UnwindSafe for RestaurantHit
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