Enum gapi_grpc::google::ads::googleads::v5::enums::payment_mode_enum::PaymentMode[][src]

#[repr(i32)]pub enum PaymentMode {
    Unspecified,
    Unknown,
    Clicks,
    ConversionValue,
    Conversions,
    GuestStay,
}

Enum describing possible payment modes.

Variants

Unspecified

Not specified.

Unknown

Used for return value only. Represents value unknown in this version.

Clicks

Pay per click.

ConversionValue

Pay per conversion value. This mode is only supported by campaigns with AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and BudgetType.HOTEL_ADS_COMMISSION.

Conversions

Pay per conversion. This mode is only supported by campaigns with AdvertisingChannelType.DISPLAY (excluding AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, and BudgetType.FIXED_CPA. The customer must also be eligible for this mode. See Customer.eligibility_failure_reasons for details.

GuestStay

Pay per guest stay value. This mode is only supported by campaigns with AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and BudgetType.STANDARD.

Implementations

impl PaymentMode[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of PaymentMode.

pub fn from_i32(value: i32) -> Option<PaymentMode>[src]

Converts an i32 to a PaymentMode, or None if value is not a valid variant.

Trait Implementations

impl Clone for PaymentMode[src]

impl Copy for PaymentMode[src]

impl Debug for PaymentMode[src]

impl Default for PaymentMode[src]

impl Eq for PaymentMode[src]

impl From<PaymentMode> for i32[src]

impl Hash for PaymentMode[src]

impl Ord for PaymentMode[src]

impl PartialEq<PaymentMode> for PaymentMode[src]

impl PartialOrd<PaymentMode> for PaymentMode[src]

impl StructuralEq for PaymentMode[src]

impl StructuralPartialEq for PaymentMode[src]

Auto Trait Implementations

impl RefUnwindSafe for PaymentMode

impl Send for PaymentMode

impl Sync for PaymentMode

impl Unpin for PaymentMode

impl UnwindSafe for PaymentMode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]