pub struct PaymentPagesCheckoutSessionCustomFieldsNumeric {
pub default_value: Option<String>,
pub maximum_length: Option<i64>,
pub minimum_length: Option<i64>,
pub value: Option<String>,
}
Fields§
§default_value: Option<String>
The value that will pre-fill 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.
value: Option<String>
The value entered by the customer, containing only digits.
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionCustomFieldsNumeric
impl Clone for PaymentPagesCheckoutSessionCustomFieldsNumeric
Source§fn clone(&self) -> PaymentPagesCheckoutSessionCustomFieldsNumeric
fn clone(&self) -> PaymentPagesCheckoutSessionCustomFieldsNumeric
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 moreAuto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionCustomFieldsNumeric
impl RefUnwindSafe for PaymentPagesCheckoutSessionCustomFieldsNumeric
impl Send for PaymentPagesCheckoutSessionCustomFieldsNumeric
impl Sync for PaymentPagesCheckoutSessionCustomFieldsNumeric
impl Unpin for PaymentPagesCheckoutSessionCustomFieldsNumeric
impl UnwindSafe for PaymentPagesCheckoutSessionCustomFieldsNumeric
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