pub struct PriceTier {
pub tier_name: Option<String>,
pub price_type: PriceType,
pub price: Price,
pub territory: Option<String>,
pub start_date: Option<DateTime<Utc>>,
pub end_date: Option<DateTime<Utc>>,
}
Fields§
§tier_name: Option<String>
§price_type: PriceType
§price: Price
§territory: Option<String>
§start_date: Option<DateTime<Utc>>
§end_date: Option<DateTime<Utc>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PriceTier
impl<'de> Deserialize<'de> for PriceTier
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 PriceTier
impl RefUnwindSafe for PriceTier
impl Send for PriceTier
impl Sync for PriceTier
impl Unpin for PriceTier
impl UnwindSafe for PriceTier
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