pub struct CreatePaymentLinkCustomFieldsText {
pub default_value: Option<String>,
pub maximum_length: Option<i64>,
pub minimum_length: Option<i64>,
}Expand description
Configuration for type=text fields.
Fields§
§default_value: Option<String>The value that pre-fills the field on the payment page.
maximum_length: Option<i64>The maximum character length constraint for the customer’s input.
minimum_length: Option<i64>The minimum character length requirement for the customer’s input.
Implementations§
Trait Implementations§
Source§impl Clone for CreatePaymentLinkCustomFieldsText
impl Clone for CreatePaymentLinkCustomFieldsText
Source§fn clone(&self) -> CreatePaymentLinkCustomFieldsText
fn clone(&self) -> CreatePaymentLinkCustomFieldsText
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 PartialEq for CreatePaymentLinkCustomFieldsText
impl PartialEq for CreatePaymentLinkCustomFieldsText
Source§fn eq(&self, other: &CreatePaymentLinkCustomFieldsText) -> bool
fn eq(&self, other: &CreatePaymentLinkCustomFieldsText) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentLinkCustomFieldsText
impl StructuralPartialEq for CreatePaymentLinkCustomFieldsText
Auto Trait Implementations§
impl Freeze for CreatePaymentLinkCustomFieldsText
impl RefUnwindSafe for CreatePaymentLinkCustomFieldsText
impl Send for CreatePaymentLinkCustomFieldsText
impl Sync for CreatePaymentLinkCustomFieldsText
impl Unpin for CreatePaymentLinkCustomFieldsText
impl UnsafeUnpin for CreatePaymentLinkCustomFieldsText
impl UnwindSafe for CreatePaymentLinkCustomFieldsText
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