pub struct QuotesResourceSubscriptionDataSubscriptionData {
pub description: Option<String>,
pub effective_date: Option<Timestamp>,
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.
effective_date: Option<Timestamp>
When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted.
This date is ignored if it is in the past when the quote is accepted. Measured in seconds since the Unix epoch.
trial_period_days: Option<u32>
Integer representing the number of trial period days before the customer is charged for the first time.
Trait Implementations§
source§impl Clone for QuotesResourceSubscriptionDataSubscriptionData
impl Clone for QuotesResourceSubscriptionDataSubscriptionData
source§fn clone(&self) -> QuotesResourceSubscriptionDataSubscriptionData
fn clone(&self) -> QuotesResourceSubscriptionDataSubscriptionData
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 QuotesResourceSubscriptionDataSubscriptionData
impl Default for QuotesResourceSubscriptionDataSubscriptionData
source§fn default() -> QuotesResourceSubscriptionDataSubscriptionData
fn default() -> QuotesResourceSubscriptionDataSubscriptionData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for QuotesResourceSubscriptionDataSubscriptionData
impl<'de> Deserialize<'de> for QuotesResourceSubscriptionDataSubscriptionData
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