pub struct StoreHit {
pub id: String,
pub name: String,
pub location: Option<String>,
pub chain_name: Option<String>,
pub is_web_store: bool,
pub has_pickup: bool,
pub has_home_delivery: bool,
}Fields§
§id: String§name: String§location: Option<String>§chain_name: Option<String>§is_web_store: boolA store that is not a web store has no cart to operate on, so this decides whether an id is usable here at all.
has_pickup: bool§has_home_delivery: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for StoreHit
impl<'de> Deserialize<'de> for StoreHit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StoreHit
impl RefUnwindSafe for StoreHit
impl Send for StoreHit
impl Sync for StoreHit
impl Unpin for StoreHit
impl UnsafeUnpin for StoreHit
impl UnwindSafe for StoreHit
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