pub struct ItemHit {
pub item: ItemRow,
pub restaurant: Option<RestaurantHit>,
pub fetched_at: i64,
}Expand description
An item from the catalog, with its restaurant.
Fields§
§item: ItemRow§restaurant: Option<RestaurantHit>§fetched_at: i64Trait Implementations§
Source§impl Serialize for ItemHit
impl Serialize for ItemHit
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 ItemHit
Auto Trait Implementations§
impl Forget for ItemHit
impl Freeze for ItemHit
impl RefUnwindSafe for ItemHit
impl Send for ItemHit
impl Sync for ItemHit
impl Unpin for ItemHit
impl UnsafeUnpin for ItemHit
impl UnwindSafe for ItemHit
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