pub struct ProductDetails {
pub attributes: Option<Value>,
}Expand description
Only the one key we need. The full blob is several KB of nutrition data, images and category trees.
Fields§
§attributes: Option<Value>Trait Implementations§
Source§impl Clone for ProductDetails
impl Clone for ProductDetails
Source§fn clone(&self) -> ProductDetails
fn clone(&self) -> ProductDetails
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 ProductDetails
impl Debug for ProductDetails
Source§impl Default for ProductDetails
impl Default for ProductDetails
Source§fn default() -> ProductDetails
fn default() -> ProductDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProductDetails
impl<'de> Deserialize<'de> for ProductDetails
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 ProductDetails
impl RefUnwindSafe for ProductDetails
impl Send for ProductDetails
impl Sync for ProductDetails
impl Unpin for ProductDetails
impl UnsafeUnpin for ProductDetails
impl UnwindSafe for ProductDetails
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