pub struct PaymentLinksResourceSubscriptionData {
pub description: Option<String>,
pub invoice_settings: PaymentLinksResourceSubscriptionDataInvoiceSettings,
pub metadata: Metadata,
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: Metadata
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 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 PaymentLinksResourceSubscriptionData
impl Default for PaymentLinksResourceSubscriptionData
source§fn default() -> PaymentLinksResourceSubscriptionData
fn default() -> PaymentLinksResourceSubscriptionData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentLinksResourceSubscriptionData
impl<'de> Deserialize<'de> for PaymentLinksResourceSubscriptionData
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 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