pub struct PaymentPagesCheckoutSessionCustomFieldsDropdown {
pub default_value: Option<String>,
pub options: Vec<PaymentPagesCheckoutSessionCustomFieldsOption>,
pub value: Option<String>,
}Fields§
§default_value: Option<String>The value that pre-fills 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 (const: unstable) · 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>
Source§impl PartialEq for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl PartialEq for PaymentPagesCheckoutSessionCustomFieldsDropdown
Source§fn eq(&self, other: &PaymentPagesCheckoutSessionCustomFieldsDropdown) -> bool
fn eq(&self, other: &PaymentPagesCheckoutSessionCustomFieldsDropdown) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl StructuralPartialEq for PaymentPagesCheckoutSessionCustomFieldsDropdown
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl RefUnwindSafe for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl Send for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl Sync for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl Unpin for PaymentPagesCheckoutSessionCustomFieldsDropdown
impl UnsafeUnpin 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