#[non_exhaustive]pub enum CreateCheckoutSessionCustomFieldsType {
Dropdown,
Numeric,
Text,
Unknown(String),
}Expand description
The type of the field.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Dropdown
Numeric
Text
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionCustomFieldsType
impl Clone for CreateCheckoutSessionCustomFieldsType
Source§fn clone(&self) -> CreateCheckoutSessionCustomFieldsType
fn clone(&self) -> CreateCheckoutSessionCustomFieldsType
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 moreSource§impl Debug for CreateCheckoutSessionCustomFieldsType
Available on non-crate feature redact-generated-debug only.
impl Debug for CreateCheckoutSessionCustomFieldsType
Available on non-crate feature
redact-generated-debug only.impl Eq for CreateCheckoutSessionCustomFieldsType
impl StructuralPartialEq for CreateCheckoutSessionCustomFieldsType
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionCustomFieldsType
impl RefUnwindSafe for CreateCheckoutSessionCustomFieldsType
impl Send for CreateCheckoutSessionCustomFieldsType
impl Sync for CreateCheckoutSessionCustomFieldsType
impl Unpin for CreateCheckoutSessionCustomFieldsType
impl UnsafeUnpin for CreateCheckoutSessionCustomFieldsType
impl UnwindSafe for CreateCheckoutSessionCustomFieldsType
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