Enum gapi_grpc::google::cloud::channel::v1::PromotionalOrderType[][src]

#[repr(i32)]pub enum PromotionalOrderType {
    PromotionalTypeUnspecified,
    NewUpgrade,
    Transfer,
    PromotionSwitch,
}

Constraints type for Promotional offers.

Variants

PromotionalTypeUnspecified

Not used.

NewUpgrade

Order used for new customers, trial conversions and upgrades.

Transfer

All orders for transferring an existing customer.

PromotionSwitch

Orders for modifying an existing customer’s promotion on the same SKU.

Implementations

impl PromotionalOrderType[src]

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

Returns true if value is a variant of PromotionalOrderType.

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

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

Trait Implementations

impl Clone for PromotionalOrderType[src]

impl Copy for PromotionalOrderType[src]

impl Debug for PromotionalOrderType[src]

impl Default for PromotionalOrderType[src]

impl Eq for PromotionalOrderType[src]

impl From<PromotionalOrderType> for i32[src]

impl Hash for PromotionalOrderType[src]

impl Ord for PromotionalOrderType[src]

impl PartialEq<PromotionalOrderType> for PromotionalOrderType[src]

impl PartialOrd<PromotionalOrderType> for PromotionalOrderType[src]

impl StructuralEq for PromotionalOrderType[src]

impl StructuralPartialEq for PromotionalOrderType[src]

Auto Trait Implementations

impl RefUnwindSafe for PromotionalOrderType

impl Send for PromotionalOrderType

impl Sync for PromotionalOrderType

impl Unpin for PromotionalOrderType

impl UnwindSafe for PromotionalOrderType

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]