pub struct CreateSubscriptionResponse {
pub subscription_id: StripeSubscriptionId,
pub client_secret: String,
}
Expand description
Create subscription response.
Fields§
§subscription_id: StripeSubscriptionId
The Stripe subscription ID
client_secret: String
The client secret from Stripe for reference when adding a payment method
None
indicates that the subscription was created without requiring a new payment method to
be added.
Trait Implementations§
Source§impl Clone for CreateSubscriptionResponse
impl Clone for CreateSubscriptionResponse
Source§fn clone(&self) -> CreateSubscriptionResponse
fn clone(&self) -> CreateSubscriptionResponse
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 CreateSubscriptionResponse
impl Debug for CreateSubscriptionResponse
Source§impl<'de> Deserialize<'de> for CreateSubscriptionResponse
impl<'de> Deserialize<'de> for CreateSubscriptionResponse
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 CreateSubscriptionResponse
impl RefUnwindSafe for CreateSubscriptionResponse
impl Send for CreateSubscriptionResponse
impl Sync for CreateSubscriptionResponse
impl Unpin for CreateSubscriptionResponse
impl UnwindSafe for CreateSubscriptionResponse
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