Struct stripe::generated::checkout::checkout_session::CreateCheckoutSessionCustomFieldsNumeric
source · pub struct CreateCheckoutSessionCustomFieldsNumeric {
pub maximum_length: Option<i64>,
pub minimum_length: Option<i64>,
}
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.
Trait Implementations§
source§impl Clone for CreateCheckoutSessionCustomFieldsNumeric
impl Clone for CreateCheckoutSessionCustomFieldsNumeric
source§fn clone(&self) -> CreateCheckoutSessionCustomFieldsNumeric
fn clone(&self) -> CreateCheckoutSessionCustomFieldsNumeric
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 CreateCheckoutSessionCustomFieldsNumeric
impl Default for CreateCheckoutSessionCustomFieldsNumeric
source§fn default() -> CreateCheckoutSessionCustomFieldsNumeric
fn default() -> CreateCheckoutSessionCustomFieldsNumeric
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCheckoutSessionCustomFieldsNumeric
impl<'de> Deserialize<'de> for CreateCheckoutSessionCustomFieldsNumeric
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 CreateCheckoutSessionCustomFieldsNumeric
impl Send for CreateCheckoutSessionCustomFieldsNumeric
impl Sync for CreateCheckoutSessionCustomFieldsNumeric
impl Unpin 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