pub struct StripeOnrampCheckoutResponse {
pub client_secret: String,
pub transaction_details: Option<StripeTransactionDetails>,
}Expand description
Checkout confirmation with client secret.
JSON schema
{
"title": "StripeOnrampCheckoutResponse",
"description": "Checkout confirmation with client secret.",
"type": "object",
"required": [
"client_secret"
],
"properties": {
"client_secret": {
"type": "string"
},
"transaction_details": {
"$ref": "#/components/schemas/StripeTransactionDetails"
}
},
"x-stainless-model": "onramps.stripe_onramp_checkout_response"
}Fields§
§client_secret: String§transaction_details: Option<StripeTransactionDetails>Trait Implementations§
Source§impl Clone for StripeOnrampCheckoutResponse
impl Clone for StripeOnrampCheckoutResponse
Source§fn clone(&self) -> StripeOnrampCheckoutResponse
fn clone(&self) -> StripeOnrampCheckoutResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StripeOnrampCheckoutResponse
impl Debug for StripeOnrampCheckoutResponse
Source§impl<'de> Deserialize<'de> for StripeOnrampCheckoutResponse
impl<'de> Deserialize<'de> for StripeOnrampCheckoutResponse
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
Source§impl From<&StripeOnrampCheckoutResponse> for StripeOnrampCheckoutResponse
impl From<&StripeOnrampCheckoutResponse> for StripeOnrampCheckoutResponse
Source§fn from(value: &StripeOnrampCheckoutResponse) -> Self
fn from(value: &StripeOnrampCheckoutResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StripeOnrampCheckoutResponse
impl RefUnwindSafe for StripeOnrampCheckoutResponse
impl Send for StripeOnrampCheckoutResponse
impl Sync for StripeOnrampCheckoutResponse
impl Unpin for StripeOnrampCheckoutResponse
impl UnsafeUnpin for StripeOnrampCheckoutResponse
impl UnwindSafe for StripeOnrampCheckoutResponse
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