Struct gapi_grpc::google::cloud::channel::v1::RenewalSettings[][src]

pub struct RenewalSettings {
    pub enable_renewal: bool,
    pub resize_unit_count: bool,
    pub payment_plan: i32,
    pub payment_cycle: Option<Period>,
}

Renewal settings for renewable Offers.

Fields

enable_renewal: bool

If false, the plan will be completed at the end date.

resize_unit_count: bool

If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the number of active units at renewal time.

payment_plan: i32

Describes how a reseller will be billed.

payment_cycle: Option<Period>

Describes how frequently the reseller will be billed, such as once per month.

Implementations

impl RenewalSettings[src]

pub fn payment_plan(&self) -> PaymentPlan[src]

Returns the enum value of payment_plan, or the default if the field is set to an invalid enum value.

pub fn set_payment_plan(&mut self, value: PaymentPlan)[src]

Sets payment_plan to the provided enum value.

Trait Implementations

impl Clone for RenewalSettings[src]

impl Debug for RenewalSettings[src]

impl Default for RenewalSettings[src]

impl Message for RenewalSettings[src]

impl PartialEq<RenewalSettings> for RenewalSettings[src]

impl StructuralPartialEq for RenewalSettings[src]

Auto Trait Implementations

impl RefUnwindSafe for RenewalSettings

impl Send for RenewalSettings

impl Sync for RenewalSettings

impl Unpin for RenewalSettings

impl UnwindSafe for RenewalSettings

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<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]