pub struct CreateCheckoutSessionCustomFieldsText {
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 CreateCheckoutSessionCustomFieldsText
impl Clone for CreateCheckoutSessionCustomFieldsText
Source§fn clone(&self) -> CreateCheckoutSessionCustomFieldsText
fn clone(&self) -> CreateCheckoutSessionCustomFieldsText
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 CreateCheckoutSessionCustomFieldsText
impl StructuralPartialEq for CreateCheckoutSessionCustomFieldsText
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionCustomFieldsText
impl RefUnwindSafe for CreateCheckoutSessionCustomFieldsText
impl Send for CreateCheckoutSessionCustomFieldsText
impl Sync for CreateCheckoutSessionCustomFieldsText
impl Unpin for CreateCheckoutSessionCustomFieldsText
impl UnsafeUnpin for CreateCheckoutSessionCustomFieldsText
impl UnwindSafe for CreateCheckoutSessionCustomFieldsText
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