pub struct UpdatePaymentLinkSubscriptionData {
pub invoice_settings: Option<UpdatePaymentLinkSubscriptionDataInvoiceSettings>,
pub metadata: Option<Metadata>,
pub trial_settings: Option<UpdatePaymentLinkSubscriptionDataTrialSettings>,
}
Fields§
§invoice_settings: Option<UpdatePaymentLinkSubscriptionDataInvoiceSettings>
All invoices will be billed using the specified settings.
metadata: Option<Metadata>
Set of key-value pairs that will declaratively set metadata on Subscriptions generated from this payment link.
Unlike object-level metadata, this field is declarative. Updates will clear prior values.
trial_settings: Option<UpdatePaymentLinkSubscriptionDataTrialSettings>
Settings related to subscription trials.
Trait Implementations§
source§impl Clone for UpdatePaymentLinkSubscriptionData
impl Clone for UpdatePaymentLinkSubscriptionData
source§fn clone(&self) -> UpdatePaymentLinkSubscriptionData
fn clone(&self) -> UpdatePaymentLinkSubscriptionData
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 UpdatePaymentLinkSubscriptionData
impl Default for UpdatePaymentLinkSubscriptionData
source§fn default() -> UpdatePaymentLinkSubscriptionData
fn default() -> UpdatePaymentLinkSubscriptionData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdatePaymentLinkSubscriptionData
impl<'de> Deserialize<'de> for UpdatePaymentLinkSubscriptionData
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 UpdatePaymentLinkSubscriptionData
impl Send for UpdatePaymentLinkSubscriptionData
impl Sync for UpdatePaymentLinkSubscriptionData
impl Unpin for UpdatePaymentLinkSubscriptionData
impl UnwindSafe for UpdatePaymentLinkSubscriptionData
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