pub struct PaymentPagesCheckoutSessionCustomFieldsDropdown {
pub default_value: Option<String>,
pub options: Vec<PaymentPagesCheckoutSessionCustomFieldsOption>,
pub value: Option<String>,
}
Fields§
§default_value: Option<String>
The value that will pre-fill on the payment page.
options: Vec<PaymentPagesCheckoutSessionCustomFieldsOption>
The options available for the customer to select. Up to 200 options allowed.
value: Option<String>
The option selected by the customer. This will be the value
for the option.
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl Clone for PaymentPagesCheckoutSessionCustomFieldsDropdown
Source§fn clone(&self) -> PaymentPagesCheckoutSessionCustomFieldsDropdown
fn clone(&self) -> PaymentPagesCheckoutSessionCustomFieldsDropdown
Returns a duplicate 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 FromValueOpt for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl FromValueOpt for PaymentPagesCheckoutSessionCustomFieldsDropdown
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl RefUnwindSafe for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl Send for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl Sync for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl Unpin for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl UnwindSafe for PaymentPagesCheckoutSessionCustomFieldsDropdown
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