pub struct CreatePaymentLinkCustomFieldsNumeric {
pub default_value: Option<String>,
pub maximum_length: Option<i64>,
pub minimum_length: Option<i64>,
}Expand description
Configuration for type=numeric 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 CreatePaymentLinkCustomFieldsNumeric
impl Clone for CreatePaymentLinkCustomFieldsNumeric
Source§fn clone(&self) -> CreatePaymentLinkCustomFieldsNumeric
fn clone(&self) -> CreatePaymentLinkCustomFieldsNumeric
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 CreatePaymentLinkCustomFieldsNumeric
impl PartialEq for CreatePaymentLinkCustomFieldsNumeric
Source§fn eq(&self, other: &CreatePaymentLinkCustomFieldsNumeric) -> bool
fn eq(&self, other: &CreatePaymentLinkCustomFieldsNumeric) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentLinkCustomFieldsNumeric
impl StructuralPartialEq for CreatePaymentLinkCustomFieldsNumeric
Auto Trait Implementations§
impl Freeze for CreatePaymentLinkCustomFieldsNumeric
impl RefUnwindSafe for CreatePaymentLinkCustomFieldsNumeric
impl Send for CreatePaymentLinkCustomFieldsNumeric
impl Sync for CreatePaymentLinkCustomFieldsNumeric
impl Unpin for CreatePaymentLinkCustomFieldsNumeric
impl UnsafeUnpin for CreatePaymentLinkCustomFieldsNumeric
impl UnwindSafe for CreatePaymentLinkCustomFieldsNumeric
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