Struct stripe::generated::checkout::checkout_session::CreateCheckoutSessionLineItemsPriceDataProductData
source · pub struct CreateCheckoutSessionLineItemsPriceDataProductData {
pub description: Option<String>,
pub images: Option<Vec<String>>,
pub metadata: Option<Metadata>,
pub name: String,
pub tax_code: Option<String>,
}
Fields§
§description: Option<String>
The product’s description, meant to be displayable to the customer.
Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
images: Option<Vec<String>>
A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
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
.
name: String
The product’s name, meant to be displayable to the customer.
tax_code: Option<String>
A tax code ID.
Trait Implementations§
source§impl Clone for CreateCheckoutSessionLineItemsPriceDataProductData
impl Clone for CreateCheckoutSessionLineItemsPriceDataProductData
source§fn clone(&self) -> CreateCheckoutSessionLineItemsPriceDataProductData
fn clone(&self) -> CreateCheckoutSessionLineItemsPriceDataProductData
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 CreateCheckoutSessionLineItemsPriceDataProductData
impl Default for CreateCheckoutSessionLineItemsPriceDataProductData
source§fn default() -> CreateCheckoutSessionLineItemsPriceDataProductData
fn default() -> CreateCheckoutSessionLineItemsPriceDataProductData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCheckoutSessionLineItemsPriceDataProductData
impl<'de> Deserialize<'de> for CreateCheckoutSessionLineItemsPriceDataProductData
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 CreateCheckoutSessionLineItemsPriceDataProductData
impl Send for CreateCheckoutSessionLineItemsPriceDataProductData
impl Sync for CreateCheckoutSessionLineItemsPriceDataProductData
impl Unpin for CreateCheckoutSessionLineItemsPriceDataProductData
impl UnwindSafe for CreateCheckoutSessionLineItemsPriceDataProductData
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