pub struct CustomerPortalSessionSubscriptionUrls {
pub id: SubscriptionID,
pub cancel_subscription: String,
pub update_subscription_payment_method: String,
}Fields§
§id: SubscriptionIDUnique Paddle ID for this subscription entity, prefixed with sub_.
cancel_subscription: StringLink to the page for this subscription in the customer portal with the subscription cancellation form pre-opened. Use as part of cancel subscription workflows.
update_subscription_payment_method: StringLink to the page for this subscription in the customer portal with the payment method update form pre-opened. Use as part of workflows to let customers update their payment details.
If a manually-collected subscription, opens the overview page for this subscription.
Trait Implementations§
Source§impl Clone for CustomerPortalSessionSubscriptionUrls
impl Clone for CustomerPortalSessionSubscriptionUrls
Source§fn clone(&self) -> CustomerPortalSessionSubscriptionUrls
fn clone(&self) -> CustomerPortalSessionSubscriptionUrls
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<'de> Deserialize<'de> for CustomerPortalSessionSubscriptionUrls
impl<'de> Deserialize<'de> for CustomerPortalSessionSubscriptionUrls
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 CustomerPortalSessionSubscriptionUrls
impl RefUnwindSafe for CustomerPortalSessionSubscriptionUrls
impl Send for CustomerPortalSessionSubscriptionUrls
impl Sync for CustomerPortalSessionSubscriptionUrls
impl Unpin for CustomerPortalSessionSubscriptionUrls
impl UnwindSafe for CustomerPortalSessionSubscriptionUrls
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