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§fn clone(&self) -> RestaurantHit
fn clone(&self) -> RestaurantHit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RestaurantHit
impl Debug for RestaurantHit
Source§impl Default for RestaurantHit
impl Default for RestaurantHit
Source§fn default() -> RestaurantHit
fn default() -> RestaurantHit
Returns the “default value” for a type. Read more
Source§impl PartialEq for RestaurantHit
impl PartialEq for RestaurantHit
Source§impl Serialize for RestaurantHit
impl Serialize for RestaurantHit
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RestaurantHit
Auto Trait Implementations§
impl Forget for RestaurantHit
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