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

#[repr(i32)]pub enum PaymentType {
    Unspecified,
    Prepay,
    Postpay,
}

Specifies when the payment needs to happen.

Variants

Unspecified

Not used.

Prepay

Prepay. Amount has to be paid before service is rendered.

Postpay

Postpay. Reseller is charged at the end of the Payment cycle.

Implementations

impl PaymentType[src]

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

Returns true if value is a variant of PaymentType.

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

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

Trait Implementations

impl Clone for PaymentType[src]

impl Copy for PaymentType[src]

impl Debug for PaymentType[src]

impl Default for PaymentType[src]

impl Eq for PaymentType[src]

impl From<PaymentType> for i32[src]

impl Hash for PaymentType[src]

impl Ord for PaymentType[src]

impl PartialEq<PaymentType> for PaymentType[src]

impl PartialOrd<PaymentType> for PaymentType[src]

impl StructuralEq for PaymentType[src]

impl StructuralPartialEq for PaymentType[src]

Auto Trait Implementations

impl RefUnwindSafe for PaymentType

impl Send for PaymentType

impl Sync for PaymentType

impl Unpin for PaymentType

impl UnwindSafe for PaymentType

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]