pub struct CreatePaymentLinkSubscriptionData {
pub description: Option<String>,
pub trial_period_days: Option<u32>,
}
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.
trial_period_days: Option<u32>
Integer representing the number of trial period days before the customer is charged for the first time.
Has to be at least 1.
Trait Implementations§
source§impl Clone for CreatePaymentLinkSubscriptionData
impl Clone for CreatePaymentLinkSubscriptionData
source§fn clone(&self) -> CreatePaymentLinkSubscriptionData
fn clone(&self) -> CreatePaymentLinkSubscriptionData
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 CreatePaymentLinkSubscriptionData
impl Default for CreatePaymentLinkSubscriptionData
source§fn default() -> CreatePaymentLinkSubscriptionData
fn default() -> CreatePaymentLinkSubscriptionData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreatePaymentLinkSubscriptionData
impl<'de> Deserialize<'de> for CreatePaymentLinkSubscriptionData
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