pub struct SubscriptionManagementUrls {
pub update_payment_method: Option<String>,
pub cancel: String,
}
Expand description
Authenticated customer portal deep links for this subscription. For security, the token
appended to each link is temporary. You shouldn’t store these links.
Fields§
§update_payment_method: Option<String>
Link 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. null
for manually-collected subscriptions.
cancel: String
Link to the page for this subscription in the customer portal with the subscription cancellation form pre-opened. Use as part of cancel subscription workflows.
Trait Implementations§
Source§impl Clone for SubscriptionManagementUrls
impl Clone for SubscriptionManagementUrls
Source§fn clone(&self) -> SubscriptionManagementUrls
fn clone(&self) -> SubscriptionManagementUrls
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 Debug for SubscriptionManagementUrls
impl Debug for SubscriptionManagementUrls
Source§impl<'de> Deserialize<'de> for SubscriptionManagementUrls
impl<'de> Deserialize<'de> for SubscriptionManagementUrls
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 SubscriptionManagementUrls
impl RefUnwindSafe for SubscriptionManagementUrls
impl Send for SubscriptionManagementUrls
impl Sync for SubscriptionManagementUrls
impl Unpin for SubscriptionManagementUrls
impl UnwindSafe for SubscriptionManagementUrls
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