pub struct CheckoutResponse {
pub checkout_url: String,
}Expand description
The hosted Stripe Checkout URL. Redirect the customer here to complete the top-up; on success Stripe fires a webhook that posts the matching credit.
JSON schema
{
"title": "CheckoutResponse",
"description": "The hosted Stripe Checkout URL. Redirect the customer
here to complete the top-up; on success Stripe fires a webhook that
posts the matching credit.",
"type": "object",
"required": [
"checkout_url"
],
"properties": {
"checkout_url": {
"description": "The hosted Stripe Checkout Session URL.",
"type": "string"
}
}
}Fields§
§checkout_url: StringThe hosted Stripe Checkout Session URL.
Trait Implementations§
Source§impl Clone for CheckoutResponse
impl Clone for CheckoutResponse
Source§fn clone(&self) -> CheckoutResponse
fn clone(&self) -> CheckoutResponse
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 CheckoutResponse
impl Debug for CheckoutResponse
Source§impl<'de> Deserialize<'de> for CheckoutResponse
impl<'de> Deserialize<'de> for CheckoutResponse
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 CheckoutResponse
impl RefUnwindSafe for CheckoutResponse
impl Send for CheckoutResponse
impl Sync for CheckoutResponse
impl Unpin for CheckoutResponse
impl UnsafeUnpin for CheckoutResponse
impl UnwindSafe for CheckoutResponse
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