pub struct CreateCheckoutSessionSetupIntentData {
pub description: Option<String>,
pub metadata: Option<Metadata>,
pub on_behalf_of: Option<String>,
}
Fields§
§description: Option<String>
An arbitrary string attached to the object.
Often useful for displaying to users.
metadata: Option<Metadata>
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
Individual keys can be unset by posting an empty value to them.
All keys can be unset by posting an empty value to metadata
.
on_behalf_of: Option<String>
The Stripe account for which the setup is intended.
Trait Implementations§
source§impl Clone for CreateCheckoutSessionSetupIntentData
impl Clone for CreateCheckoutSessionSetupIntentData
source§fn clone(&self) -> CreateCheckoutSessionSetupIntentData
fn clone(&self) -> CreateCheckoutSessionSetupIntentData
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 CreateCheckoutSessionSetupIntentData
impl Default for CreateCheckoutSessionSetupIntentData
source§fn default() -> CreateCheckoutSessionSetupIntentData
fn default() -> CreateCheckoutSessionSetupIntentData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCheckoutSessionSetupIntentData
impl<'de> Deserialize<'de> for CreateCheckoutSessionSetupIntentData
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 CreateCheckoutSessionSetupIntentData
impl Send for CreateCheckoutSessionSetupIntentData
impl Sync for CreateCheckoutSessionSetupIntentData
impl Unpin for CreateCheckoutSessionSetupIntentData
impl UnwindSafe for CreateCheckoutSessionSetupIntentData
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