pub struct PaymentPagesCheckoutSessionCustomFields {
pub dropdown: Option<PaymentPagesCheckoutSessionCustomFieldsDropdown>,
pub key: String,
pub label: PaymentPagesCheckoutSessionCustomFieldsLabel,
pub numeric: Option<PaymentPagesCheckoutSessionCustomFieldsNumeric>,
pub optional: bool,
pub text: Option<PaymentPagesCheckoutSessionCustomFieldsText>,
pub type_: PaymentPagesCheckoutSessionCustomFieldsType,
}Fields§
§dropdown: Option<PaymentPagesCheckoutSessionCustomFieldsDropdown>§key: StringString of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters.
label: PaymentPagesCheckoutSessionCustomFieldsLabel§numeric: Option<PaymentPagesCheckoutSessionCustomFieldsNumeric>§optional: boolWhether the customer is required to complete the field before completing the Checkout Session.
Defaults to false.
text: Option<PaymentPagesCheckoutSessionCustomFieldsText>§type_: PaymentPagesCheckoutSessionCustomFieldsTypeThe type of the field.
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionCustomFields
impl Clone for PaymentPagesCheckoutSessionCustomFields
Source§fn clone(&self) -> PaymentPagesCheckoutSessionCustomFields
fn clone(&self) -> PaymentPagesCheckoutSessionCustomFields
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 PaymentPagesCheckoutSessionCustomFields
impl FromValueOpt for PaymentPagesCheckoutSessionCustomFields
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentPagesCheckoutSessionCustomFields
impl PartialEq for PaymentPagesCheckoutSessionCustomFields
Source§fn eq(&self, other: &PaymentPagesCheckoutSessionCustomFields) -> bool
fn eq(&self, other: &PaymentPagesCheckoutSessionCustomFields) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentPagesCheckoutSessionCustomFields
impl StructuralPartialEq for PaymentPagesCheckoutSessionCustomFields
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionCustomFields
impl RefUnwindSafe for PaymentPagesCheckoutSessionCustomFields
impl Send for PaymentPagesCheckoutSessionCustomFields
impl Sync for PaymentPagesCheckoutSessionCustomFields
impl Unpin for PaymentPagesCheckoutSessionCustomFields
impl UnsafeUnpin for PaymentPagesCheckoutSessionCustomFields
impl UnwindSafe for PaymentPagesCheckoutSessionCustomFields
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