pub struct PortalFlowsFlowSubscriptionUpdateConfirm {
pub discounts: Option<Vec<PortalFlowsSubscriptionUpdateConfirmDiscount>>,
pub items: Vec<PortalFlowsSubscriptionUpdateConfirmItem>,
pub subscription: String,
}
Fields§
§discounts: Option<Vec<PortalFlowsSubscriptionUpdateConfirmDiscount>>
The coupon or promotion code to apply to this subscription update.
Currently, only up to one may be specified.
items: Vec<PortalFlowsSubscriptionUpdateConfirmItem>
The subscription item to be updated through this flow.
Currently, only up to one may be specified and subscriptions with multiple items are not updatable.
subscription: String
The ID of the subscription to be updated.
Trait Implementations§
source§impl Clone for PortalFlowsFlowSubscriptionUpdateConfirm
impl Clone for PortalFlowsFlowSubscriptionUpdateConfirm
source§fn clone(&self) -> PortalFlowsFlowSubscriptionUpdateConfirm
fn clone(&self) -> PortalFlowsFlowSubscriptionUpdateConfirm
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 PortalFlowsFlowSubscriptionUpdateConfirm
impl Default for PortalFlowsFlowSubscriptionUpdateConfirm
source§fn default() -> PortalFlowsFlowSubscriptionUpdateConfirm
fn default() -> PortalFlowsFlowSubscriptionUpdateConfirm
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PortalFlowsFlowSubscriptionUpdateConfirm
impl<'de> Deserialize<'de> for PortalFlowsFlowSubscriptionUpdateConfirm
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 PortalFlowsFlowSubscriptionUpdateConfirm
impl Send for PortalFlowsFlowSubscriptionUpdateConfirm
impl Sync for PortalFlowsFlowSubscriptionUpdateConfirm
impl Unpin for PortalFlowsFlowSubscriptionUpdateConfirm
impl UnwindSafe for PortalFlowsFlowSubscriptionUpdateConfirm
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