pub struct PortalFlowsSubscriptionUpdateConfirmDiscount {
pub coupon: Option<String>,
pub promotion_code: Option<String>,
}
Fields§
§coupon: Option<String>
The ID of the coupon to apply to this subscription update.
promotion_code: Option<String>
The ID of a promotion code to apply to this subscription update.
Trait Implementations§
source§impl Clone for PortalFlowsSubscriptionUpdateConfirmDiscount
impl Clone for PortalFlowsSubscriptionUpdateConfirmDiscount
source§fn clone(&self) -> PortalFlowsSubscriptionUpdateConfirmDiscount
fn clone(&self) -> PortalFlowsSubscriptionUpdateConfirmDiscount
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 PortalFlowsSubscriptionUpdateConfirmDiscount
impl Default for PortalFlowsSubscriptionUpdateConfirmDiscount
source§fn default() -> PortalFlowsSubscriptionUpdateConfirmDiscount
fn default() -> PortalFlowsSubscriptionUpdateConfirmDiscount
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PortalFlowsSubscriptionUpdateConfirmDiscount
impl<'de> Deserialize<'de> for PortalFlowsSubscriptionUpdateConfirmDiscount
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 RefUnwindSafe for PortalFlowsSubscriptionUpdateConfirmDiscount
impl Send for PortalFlowsSubscriptionUpdateConfirmDiscount
impl Sync for PortalFlowsSubscriptionUpdateConfirmDiscount
impl Unpin for PortalFlowsSubscriptionUpdateConfirmDiscount
impl UnwindSafe for PortalFlowsSubscriptionUpdateConfirmDiscount
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