#[non_exhaustive]pub enum TerminalReaderReaderResourceInputType {
Email,
Numeric,
Phone,
Selection,
Signature,
Text,
Unknown(String),
}Expand description
Type of input being collected.
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.
Numeric
Phone
Selection
Signature
Text
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for TerminalReaderReaderResourceInputType
impl Clone for TerminalReaderReaderResourceInputType
Source§fn clone(&self) -> TerminalReaderReaderResourceInputType
fn clone(&self) -> TerminalReaderReaderResourceInputType
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 TerminalReaderReaderResourceInputType
Available on non-crate feature redact-generated-debug only.
impl Debug for TerminalReaderReaderResourceInputType
Available on non-crate feature
redact-generated-debug only.Source§impl FromValueOpt for TerminalReaderReaderResourceInputType
impl FromValueOpt for TerminalReaderReaderResourceInputType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for TerminalReaderReaderResourceInputType
impl PartialEq for TerminalReaderReaderResourceInputType
Source§fn eq(&self, other: &TerminalReaderReaderResourceInputType) -> bool
fn eq(&self, other: &TerminalReaderReaderResourceInputType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TerminalReaderReaderResourceInputType
impl StructuralPartialEq for TerminalReaderReaderResourceInputType
Auto Trait Implementations§
impl Freeze for TerminalReaderReaderResourceInputType
impl RefUnwindSafe for TerminalReaderReaderResourceInputType
impl Send for TerminalReaderReaderResourceInputType
impl Sync for TerminalReaderReaderResourceInputType
impl Unpin for TerminalReaderReaderResourceInputType
impl UnsafeUnpin for TerminalReaderReaderResourceInputType
impl UnwindSafe for TerminalReaderReaderResourceInputType
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