Struct stripe::PortalFlowsRetention
source · pub struct PortalFlowsRetention {
pub coupon_offer: Option<PortalFlowsCouponOffer>,
pub type_: PortalFlowsRetentionType,
}
Fields§
§coupon_offer: Option<PortalFlowsCouponOffer>
Configuration when retention.type=coupon_offer
.
type_: PortalFlowsRetentionType
Type of retention strategy that will be used.
Trait Implementations§
source§impl Clone for PortalFlowsRetention
impl Clone for PortalFlowsRetention
source§fn clone(&self) -> PortalFlowsRetention
fn clone(&self) -> PortalFlowsRetention
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 Debug for PortalFlowsRetention
impl Debug for PortalFlowsRetention
source§impl Default for PortalFlowsRetention
impl Default for PortalFlowsRetention
source§fn default() -> PortalFlowsRetention
fn default() -> PortalFlowsRetention
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PortalFlowsRetention
impl<'de> Deserialize<'de> for PortalFlowsRetention
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 PortalFlowsRetention
impl RefUnwindSafe for PortalFlowsRetention
impl Send for PortalFlowsRetention
impl Sync for PortalFlowsRetention
impl Unpin for PortalFlowsRetention
impl UnwindSafe for PortalFlowsRetention
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