pub struct PersonalOfferPricing {
pub price: Option<f64>,
pub discount_percentage: Option<String>,
pub unit: Option<OfferUnit>,
}Fields§
§price: Option<f64>§discount_percentage: Option<String>§unit: Option<OfferUnit>What price buys – often more than one item. A live “-57-65 %” coffee offer
priced at 10.00 EUR turned out to mean 10.00 EUR for three (unit.fi was
“3 kpl”), not one; every offer observed carried this field.
Trait Implementations§
Source§impl Clone for PersonalOfferPricing
impl Clone for PersonalOfferPricing
Source§fn clone(&self) -> PersonalOfferPricing
fn clone(&self) -> PersonalOfferPricing
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 PersonalOfferPricing
impl Debug for PersonalOfferPricing
Source§impl<'de> Deserialize<'de> for PersonalOfferPricing
impl<'de> Deserialize<'de> for PersonalOfferPricing
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 PersonalOfferPricing
impl RefUnwindSafe for PersonalOfferPricing
impl Send for PersonalOfferPricing
impl Sync for PersonalOfferPricing
impl Unpin for PersonalOfferPricing
impl UnsafeUnpin for PersonalOfferPricing
impl UnwindSafe for PersonalOfferPricing
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