pub struct CreateCheckoutSessionCustomFieldsDropdownOptions {
pub label: String,
pub value: String,
}Expand description
The options available for the customer to select. Up to 200 options allowed.
Fields§
§label: StringThe label for the option, displayed to the customer. Up to 100 characters.
value: StringThe value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionCustomFieldsDropdownOptions
impl Clone for CreateCheckoutSessionCustomFieldsDropdownOptions
Source§fn clone(&self) -> CreateCheckoutSessionCustomFieldsDropdownOptions
fn clone(&self) -> CreateCheckoutSessionCustomFieldsDropdownOptions
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 moreimpl Eq for CreateCheckoutSessionCustomFieldsDropdownOptions
impl StructuralPartialEq for CreateCheckoutSessionCustomFieldsDropdownOptions
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionCustomFieldsDropdownOptions
impl RefUnwindSafe for CreateCheckoutSessionCustomFieldsDropdownOptions
impl Send for CreateCheckoutSessionCustomFieldsDropdownOptions
impl Sync for CreateCheckoutSessionCustomFieldsDropdownOptions
impl Unpin for CreateCheckoutSessionCustomFieldsDropdownOptions
impl UnsafeUnpin for CreateCheckoutSessionCustomFieldsDropdownOptions
impl UnwindSafe for CreateCheckoutSessionCustomFieldsDropdownOptions
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