pub enum ComplexPricingModel {
Tiered(TieredPricing),
VolumeBased(VolumePricing),
Subscription(SubscriptionPricing),
Dynamic(DynamicPricing),
Bundle(BundlePricing),
}Expand description
Complex pricing model
Variants§
Tiered(TieredPricing)
Tiered pricing - different prices for different quantity tiers
VolumeBased(VolumePricing)
Volume-based pricing - price decreases with volume
Subscription(SubscriptionPricing)
Subscription pricing - recurring charges
Dynamic(DynamicPricing)
Dynamic pricing - price changes based on demand/time
Bundle(BundlePricing)
Bundle pricing - special pricing for product bundles
Trait Implementations§
Source§impl Clone for ComplexPricingModel
impl Clone for ComplexPricingModel
Source§fn clone(&self) -> ComplexPricingModel
fn clone(&self) -> ComplexPricingModel
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 ComplexPricingModel
impl Debug for ComplexPricingModel
Source§impl<'de> Deserialize<'de> for ComplexPricingModel
impl<'de> Deserialize<'de> for ComplexPricingModel
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 ComplexPricingModel
impl RefUnwindSafe for ComplexPricingModel
impl Send for ComplexPricingModel
impl Sync for ComplexPricingModel
impl Unpin for ComplexPricingModel
impl UnwindSafe for ComplexPricingModel
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