pub struct PaymentLinksResourceSubscriptionData {
pub description: Option<String>,
pub invoice_settings: PaymentLinksResourceSubscriptionDataInvoiceSettings,
pub metadata: HashMap<String, String>,
pub trial_period_days: Option<u32>,
pub trial_settings: Option<SubscriptionsTrialsResourceTrialSettings>,
}
Fields§
§description: Option<String>
The subscription’s description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
invoice_settings: PaymentLinksResourceSubscriptionDataInvoiceSettings
§metadata: HashMap<String, String>
Set of key-value pairs that will set metadata on Subscriptions generated from this payment link.
trial_period_days: Option<u32>
Integer representing the number of trial period days before the customer is charged for the first time.
trial_settings: Option<SubscriptionsTrialsResourceTrialSettings>
Settings related to subscription trials.
Trait Implementations§
Source§impl Clone for PaymentLinksResourceSubscriptionData
impl Clone for PaymentLinksResourceSubscriptionData
Source§fn clone(&self) -> PaymentLinksResourceSubscriptionData
fn clone(&self) -> PaymentLinksResourceSubscriptionData
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 PaymentLinksResourceSubscriptionData
impl FromValueOpt for PaymentLinksResourceSubscriptionData
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentLinksResourceSubscriptionData
impl RefUnwindSafe for PaymentLinksResourceSubscriptionData
impl Send for PaymentLinksResourceSubscriptionData
impl Sync for PaymentLinksResourceSubscriptionData
impl Unpin for PaymentLinksResourceSubscriptionData
impl UnwindSafe for PaymentLinksResourceSubscriptionData
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