pub struct Product {
pub product_id: String,
pub title: String,
pub description: String,
pub product_type: String,
pub formatted_price: Option<String>,
pub price_currency_code: Option<String>,
pub price_amount_micros: Option<i64>,
pub subscription_offer_details: Option<Vec<SubscriptionOffer>>,
}Fields§
§product_id: String§title: String§description: String§product_type: String§formatted_price: Option<String>§price_currency_code: Option<String>§price_amount_micros: Option<i64>§subscription_offer_details: Option<Vec<SubscriptionOffer>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Product
impl<'de> Deserialize<'de> for Product
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 Product
impl RefUnwindSafe for Product
impl Send for Product
impl Sync for Product
impl Unpin for Product
impl UnwindSafe for Product
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