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 duplicate 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 FromValueOpt for PortalFlowsFlowSubscriptionUpdateConfirm
impl FromValueOpt for PortalFlowsFlowSubscriptionUpdateConfirm
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PortalFlowsFlowSubscriptionUpdateConfirm
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