pub struct CreateCheckoutSessionCustomFieldsLabel {
pub custom: String,
pub type_: CreateCheckoutSessionCustomFieldsLabelType,
}
Fields§
§custom: String
Custom text for the label, displayed to the customer.
Up to 50 characters.
type_: CreateCheckoutSessionCustomFieldsLabelType
The 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
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionCustomFieldsLabel
impl RefUnwindSafe for CreateCheckoutSessionCustomFieldsLabel
impl Send for CreateCheckoutSessionCustomFieldsLabel
impl Sync for CreateCheckoutSessionCustomFieldsLabel
impl Unpin for CreateCheckoutSessionCustomFieldsLabel
impl UnwindSafe for CreateCheckoutSessionCustomFieldsLabel
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