Struct google_content2_sandbox::api::Promotion
source · pub struct Promotion {
pub promotion_amount: Option<Amount>,
pub promotion_id: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§promotion_amount: Option<Amount>
[required] Amount of the promotion. The values here are the promotion applied to the unit price pretax and to the total of the tax amounts.
promotion_id: Option<String>
[required] ID of the promotion.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Promotion
impl<'de> Deserialize<'de> for Promotion
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
impl Part for Promotion
Auto Trait Implementations§
impl RefUnwindSafe for Promotion
impl Send for Promotion
impl Sync for Promotion
impl Unpin for Promotion
impl UnwindSafe for Promotion
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