Struct stripe::generated::checkout::payment_link::CreatePaymentLinkCustomFieldsDropdownOptions
source · pub struct CreatePaymentLinkCustomFieldsDropdownOptions {
pub label: String,
pub value: String,
}
Fields§
§label: String
The label for the option, displayed to the customer.
Up to 100 characters.
value: String
The 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.
Trait Implementations§
source§impl Clone for CreatePaymentLinkCustomFieldsDropdownOptions
impl Clone for CreatePaymentLinkCustomFieldsDropdownOptions
source§fn clone(&self) -> CreatePaymentLinkCustomFieldsDropdownOptions
fn clone(&self) -> CreatePaymentLinkCustomFieldsDropdownOptions
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 CreatePaymentLinkCustomFieldsDropdownOptions
impl Default for CreatePaymentLinkCustomFieldsDropdownOptions
source§fn default() -> CreatePaymentLinkCustomFieldsDropdownOptions
fn default() -> CreatePaymentLinkCustomFieldsDropdownOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreatePaymentLinkCustomFieldsDropdownOptions
impl<'de> Deserialize<'de> for CreatePaymentLinkCustomFieldsDropdownOptions
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 CreatePaymentLinkCustomFieldsDropdownOptions
impl Send for CreatePaymentLinkCustomFieldsDropdownOptions
impl Sync for CreatePaymentLinkCustomFieldsDropdownOptions
impl Unpin for CreatePaymentLinkCustomFieldsDropdownOptions
impl UnwindSafe for CreatePaymentLinkCustomFieldsDropdownOptions
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