Enum googapis::google::ads::googleads::v7::common::promotion_feed_item::PromotionTrigger [−][src]
Expand description
Promotion trigger. Can be by promotion code or promo by eligible order amount.
Variants
PromotionCode(String)
A code the user should use in order to be eligible for the promotion.
Tuple Fields of PromotionCode
0: String
OrdersOverAmount(Money)
The amount the total order needs to be for the user to be eligible for the promotion.
Tuple Fields of OrdersOverAmount
0: Money
Implementations
pub fn merge<B>(
field: &mut Option<PromotionTrigger>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PromotionTrigger
impl Send for PromotionTrigger
impl Sync for PromotionTrigger
impl Unpin for PromotionTrigger
impl UnwindSafe for PromotionTrigger
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more