pub struct CreateCheckoutSessionCustomFieldsNumeric {
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 CreateCheckoutSessionCustomFieldsNumeric
impl Clone for CreateCheckoutSessionCustomFieldsNumeric
Source§fn clone(&self) -> CreateCheckoutSessionCustomFieldsNumeric
fn clone(&self) -> CreateCheckoutSessionCustomFieldsNumeric
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for CreateCheckoutSessionCustomFieldsNumeric
impl StructuralPartialEq for CreateCheckoutSessionCustomFieldsNumeric
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionCustomFieldsNumeric
impl RefUnwindSafe for CreateCheckoutSessionCustomFieldsNumeric
impl Send for CreateCheckoutSessionCustomFieldsNumeric
impl Sync for CreateCheckoutSessionCustomFieldsNumeric
impl Unpin for CreateCheckoutSessionCustomFieldsNumeric
impl UnsafeUnpin for CreateCheckoutSessionCustomFieldsNumeric
impl UnwindSafe for CreateCheckoutSessionCustomFieldsNumeric
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