#[non_exhaustive]pub enum PaymentPagesCheckoutSessionCustomFieldsType {
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 PaymentPagesCheckoutSessionCustomFieldsType
impl Clone for PaymentPagesCheckoutSessionCustomFieldsType
Source§fn clone(&self) -> PaymentPagesCheckoutSessionCustomFieldsType
fn clone(&self) -> PaymentPagesCheckoutSessionCustomFieldsType
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 PaymentPagesCheckoutSessionCustomFieldsType
Available on non-crate feature redact-generated-debug only.
impl Debug for PaymentPagesCheckoutSessionCustomFieldsType
Available on non-crate feature
redact-generated-debug only.impl Eq for PaymentPagesCheckoutSessionCustomFieldsType
Source§impl FromValueOpt for PaymentPagesCheckoutSessionCustomFieldsType
impl FromValueOpt for PaymentPagesCheckoutSessionCustomFieldsType
fn from_value(v: Value) -> Option<Self>
impl StructuralPartialEq for PaymentPagesCheckoutSessionCustomFieldsType
Auto Trait Implementations§
impl Freeze for PaymentPagesCheckoutSessionCustomFieldsType
impl RefUnwindSafe for PaymentPagesCheckoutSessionCustomFieldsType
impl Send for PaymentPagesCheckoutSessionCustomFieldsType
impl Sync for PaymentPagesCheckoutSessionCustomFieldsType
impl Unpin for PaymentPagesCheckoutSessionCustomFieldsType
impl UnsafeUnpin for PaymentPagesCheckoutSessionCustomFieldsType
impl UnwindSafe for PaymentPagesCheckoutSessionCustomFieldsType
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