pub struct PricingFactor {
pub factor_type: FactorType,
pub weight: f64,
pub adjustment_percentage: f64,
}Expand description
Pricing factor that affects price
Fields§
§factor_type: FactorType§weight: f64§adjustment_percentage: f64Trait Implementations§
Source§impl Clone for PricingFactor
impl Clone for PricingFactor
Source§fn clone(&self) -> PricingFactor
fn clone(&self) -> PricingFactor
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 PricingFactor
impl Debug for PricingFactor
Source§impl<'de> Deserialize<'de> for PricingFactor
impl<'de> Deserialize<'de> for PricingFactor
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 PricingFactor
impl RefUnwindSafe for PricingFactor
impl Send for PricingFactor
impl Sync for PricingFactor
impl Unpin for PricingFactor
impl UnwindSafe for PricingFactor
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