pub struct PaymentLinksResourceCustomFields {
pub dropdown: Option<PaymentLinksResourceCustomFieldsDropdown>,
pub key: String,
pub label: PaymentLinksResourceCustomFieldsLabel,
pub numeric: Option<PaymentLinksResourceCustomFieldsNumeric>,
pub optional: bool,
pub text: Option<PaymentLinksResourceCustomFieldsText>,
pub type_: PaymentLinksResourceCustomFieldsType,
}
Fields§
§dropdown: Option<PaymentLinksResourceCustomFieldsDropdown>
§key: String
String 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: PaymentLinksResourceCustomFieldsLabel
§numeric: Option<PaymentLinksResourceCustomFieldsNumeric>
§optional: bool
Whether the customer is required to complete the field before completing the Checkout Session.
Defaults to false
.
text: Option<PaymentLinksResourceCustomFieldsText>
§type_: PaymentLinksResourceCustomFieldsType
The type of the field.
Trait Implementations§
Source§impl Clone for PaymentLinksResourceCustomFields
impl Clone for PaymentLinksResourceCustomFields
Source§fn clone(&self) -> PaymentLinksResourceCustomFields
fn clone(&self) -> PaymentLinksResourceCustomFields
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 PaymentLinksResourceCustomFields
impl FromValueOpt for PaymentLinksResourceCustomFields
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentLinksResourceCustomFields
impl RefUnwindSafe for PaymentLinksResourceCustomFields
impl Send for PaymentLinksResourceCustomFields
impl Sync for PaymentLinksResourceCustomFields
impl Unpin for PaymentLinksResourceCustomFields
impl UnwindSafe for PaymentLinksResourceCustomFields
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