pub struct CreateSetupIntentRequest {
pub plan_type: PlanType,
}
Expand description
Request to create a subscription.
If no payment method information is passed with, then the system will attempt to use the users existing payment method. Otherwise, a payment method will be saved.
Fields§
§plan_type: PlanType
Plan to create the subscription for
Trait Implementations§
Source§impl Clone for CreateSetupIntentRequest
impl Clone for CreateSetupIntentRequest
Source§fn clone(&self) -> CreateSetupIntentRequest
fn clone(&self) -> CreateSetupIntentRequest
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 Debug for CreateSetupIntentRequest
impl Debug for CreateSetupIntentRequest
Source§impl<'de> Deserialize<'de> for CreateSetupIntentRequest
impl<'de> Deserialize<'de> for CreateSetupIntentRequest
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 Freeze for CreateSetupIntentRequest
impl RefUnwindSafe for CreateSetupIntentRequest
impl Send for CreateSetupIntentRequest
impl Sync for CreateSetupIntentRequest
impl Unpin for CreateSetupIntentRequest
impl UnwindSafe for CreateSetupIntentRequest
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