pub struct PaymentPagesCheckoutSessionCustomFieldsText {
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.
Trait Implementations§
Source§impl Clone for PaymentPagesCheckoutSessionCustomFieldsText
impl Clone for PaymentPagesCheckoutSessionCustomFieldsText
Source§fn clone(&self) -> PaymentPagesCheckoutSessionCustomFieldsText
fn clone(&self) -> PaymentPagesCheckoutSessionCustomFieldsText
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 FromValueOpt for PaymentPagesCheckoutSessionCustomFieldsText
impl FromValueOpt for PaymentPagesCheckoutSessionCustomFieldsText
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionCustomFieldsText
impl RefUnwindSafe for PaymentPagesCheckoutSessionCustomFieldsText
impl Send for PaymentPagesCheckoutSessionCustomFieldsText
impl Sync for PaymentPagesCheckoutSessionCustomFieldsText
impl Unpin for PaymentPagesCheckoutSessionCustomFieldsText
impl UnwindSafe for PaymentPagesCheckoutSessionCustomFieldsText
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