Struct stripe::generated::checkout::checkout_session::CreateCheckoutSessionCustomFieldsLabel
source · pub struct CreateCheckoutSessionCustomFieldsLabel {
pub custom: String,
pub type_: CreateCheckoutSessionCustomFieldsLabelType,
}Fields§
§custom: StringCustom text for the label, displayed to the customer.
Up to 50 characters.
type_: CreateCheckoutSessionCustomFieldsLabelTypeThe type of the label.
Trait Implementations§
source§impl Clone for CreateCheckoutSessionCustomFieldsLabel
impl Clone for CreateCheckoutSessionCustomFieldsLabel
source§fn clone(&self) -> CreateCheckoutSessionCustomFieldsLabel
fn clone(&self) -> CreateCheckoutSessionCustomFieldsLabel
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 CreateCheckoutSessionCustomFieldsLabel
impl Default for CreateCheckoutSessionCustomFieldsLabel
source§fn default() -> CreateCheckoutSessionCustomFieldsLabel
fn default() -> CreateCheckoutSessionCustomFieldsLabel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCheckoutSessionCustomFieldsLabel
impl<'de> Deserialize<'de> for CreateCheckoutSessionCustomFieldsLabel
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