pub struct PaymentPagesCheckoutSessionCustomFieldsNumeric {
pub maximum_length: Option<i64>,
pub minimum_length: Option<i64>,
pub value: Option<String>,
}
Fields§
§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 copy 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 Default for PaymentPagesCheckoutSessionCustomFieldsNumeric
impl Default for PaymentPagesCheckoutSessionCustomFieldsNumeric
source§fn default() -> PaymentPagesCheckoutSessionCustomFieldsNumeric
fn default() -> PaymentPagesCheckoutSessionCustomFieldsNumeric
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionCustomFieldsNumeric
impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionCustomFieldsNumeric
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
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