pub struct CreateBillingPortalSessionFlowDataSubscriptionCancelRetention {
pub coupon_offer: CreateBillingPortalSessionFlowDataSubscriptionCancelRetentionCouponOffer,
pub type_: CreateBillingPortalSessionFlowDataSubscriptionCancelRetentionType,
}
Fields§
§coupon_offer: CreateBillingPortalSessionFlowDataSubscriptionCancelRetentionCouponOffer
Configuration when retention.type=coupon_offer
.
type_: CreateBillingPortalSessionFlowDataSubscriptionCancelRetentionType
Type of retention strategy to use with the customer.
Trait Implementations§
source§impl Clone for CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
impl Clone for CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
source§fn clone(&self) -> CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
fn clone(&self) -> CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
impl Default for CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
source§fn default() -> CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
fn default() -> CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
impl<'de> Deserialize<'de> for CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
impl RefUnwindSafe for CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
impl Send for CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
impl Sync for CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
impl Unpin for CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
impl UnwindSafe for CreateBillingPortalSessionFlowDataSubscriptionCancelRetention
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more