pub struct BundlePricing {
pub bundle_id: Uuid,
pub component_prices: Vec<ComponentPrice>,
pub bundle_discount: f64,
pub minimum_components: Option<u32>,
}Expand description
Bundle pricing
Fields§
§bundle_id: Uuid§component_prices: Vec<ComponentPrice>§bundle_discount: f64§minimum_components: Option<u32>Trait Implementations§
Source§impl Clone for BundlePricing
impl Clone for BundlePricing
Source§fn clone(&self) -> BundlePricing
fn clone(&self) -> BundlePricing
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 BundlePricing
impl Debug for BundlePricing
Source§impl<'de> Deserialize<'de> for BundlePricing
impl<'de> Deserialize<'de> for BundlePricing
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 BundlePricing
impl RefUnwindSafe for BundlePricing
impl Send for BundlePricing
impl Sync for BundlePricing
impl Unpin for BundlePricing
impl UnwindSafe for BundlePricing
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