pub struct JsonLdProduct {Show 14 fields
pub name: Option<String>,
pub description: Option<String>,
pub brand: Option<String>,
pub sku: Option<String>,
pub price: Option<f64>,
pub original_price: Option<f64>,
pub price_currency: Option<String>,
pub availability: Option<String>,
pub rating_value: Option<f64>,
pub rating_best: Option<f64>,
pub review_count: Option<u64>,
pub image: Option<String>,
pub category: Option<String>,
pub date_modified: Option<String>,
}Expand description
Product data extracted from JSON-LD.
Fields§
§name: Option<String>§description: Option<String>§brand: Option<String>§sku: Option<String>§price: Option<f64>§original_price: Option<f64>§price_currency: Option<String>§availability: Option<String>§rating_value: Option<f64>§rating_best: Option<f64>§review_count: Option<u64>§image: Option<String>§category: Option<String>§date_modified: Option<String>Trait Implementations§
Source§impl Clone for JsonLdProduct
impl Clone for JsonLdProduct
Source§fn clone(&self) -> JsonLdProduct
fn clone(&self) -> JsonLdProduct
Returns a duplicate of the value. Read more
1.0.0 · 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 JsonLdProduct
impl Debug for JsonLdProduct
Source§impl Default for JsonLdProduct
impl Default for JsonLdProduct
Source§fn default() -> JsonLdProduct
fn default() -> JsonLdProduct
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JsonLdProduct
impl RefUnwindSafe for JsonLdProduct
impl Send for JsonLdProduct
impl Sync for JsonLdProduct
impl Unpin for JsonLdProduct
impl UnsafeUnpin for JsonLdProduct
impl UnwindSafe for JsonLdProduct
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