#[non_exhaustive]pub enum GelatoDocumentReportType {
DrivingLicense,
IdCard,
Passport,
Unknown(String),
}Expand description
Type of the document.
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.
DrivingLicense
IdCard
Passport
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for GelatoDocumentReportType
impl Clone for GelatoDocumentReportType
Source§fn clone(&self) -> GelatoDocumentReportType
fn clone(&self) -> GelatoDocumentReportType
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 Debug for GelatoDocumentReportType
impl Debug for GelatoDocumentReportType
Source§impl Display for GelatoDocumentReportType
impl Display for GelatoDocumentReportType
Source§impl FromStr for GelatoDocumentReportType
impl FromStr for GelatoDocumentReportType
Source§impl FromValueOpt for GelatoDocumentReportType
impl FromValueOpt for GelatoDocumentReportType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for GelatoDocumentReportType
impl PartialEq for GelatoDocumentReportType
impl Eq for GelatoDocumentReportType
impl StructuralPartialEq for GelatoDocumentReportType
Auto Trait Implementations§
impl Freeze for GelatoDocumentReportType
impl RefUnwindSafe for GelatoDocumentReportType
impl Send for GelatoDocumentReportType
impl Sync for GelatoDocumentReportType
impl Unpin for GelatoDocumentReportType
impl UnwindSafe for GelatoDocumentReportType
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