pub struct PriceAdjustmentRule {
pub condition: String,
pub adjustment_type: AdjustmentType,
pub value: f64,
}Expand description
Price adjustment rule
Fields§
§condition: String§adjustment_type: AdjustmentType§value: f64Trait Implementations§
Source§impl Clone for PriceAdjustmentRule
impl Clone for PriceAdjustmentRule
Source§fn clone(&self) -> PriceAdjustmentRule
fn clone(&self) -> PriceAdjustmentRule
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 PriceAdjustmentRule
impl Debug for PriceAdjustmentRule
Source§impl<'de> Deserialize<'de> for PriceAdjustmentRule
impl<'de> Deserialize<'de> for PriceAdjustmentRule
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 PriceAdjustmentRule
impl RefUnwindSafe for PriceAdjustmentRule
impl Send for PriceAdjustmentRule
impl Sync for PriceAdjustmentRule
impl Unpin for PriceAdjustmentRule
impl UnwindSafe for PriceAdjustmentRule
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