#[non_exhaustive]pub enum FilePurpose {
Show 18 variants
AccountRequirement,
AdditionalVerification,
BusinessIcon,
BusinessLogo,
CustomerSignature,
DisputeEvidence,
DocumentProviderIdentityDocument,
FinanceReportRun,
FinancialAccountStatement,
IdentityDocument,
IdentityDocumentDownloadable,
IssuingRegulatoryReporting,
PciDocument,
Selfie,
SigmaScheduledQuery,
TaxDocumentUserUpload,
TerminalReaderSplashscreen,
Unknown(String),
}
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.
AccountRequirement
AdditionalVerification
BusinessIcon
BusinessLogo
CustomerSignature
DisputeEvidence
DocumentProviderIdentityDocument
FinanceReportRun
FinancialAccountStatement
IdentityDocument
IdentityDocumentDownloadable
IssuingRegulatoryReporting
PciDocument
Selfie
SigmaScheduledQuery
TaxDocumentUserUpload
TerminalReaderSplashscreen
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for FilePurpose
impl Clone for FilePurpose
Source§fn clone(&self) -> FilePurpose
fn clone(&self) -> FilePurpose
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 FilePurpose
impl Debug for FilePurpose
Source§impl Deserialize for FilePurpose
impl Deserialize for FilePurpose
Source§impl Display for FilePurpose
impl Display for FilePurpose
Source§impl FromStr for FilePurpose
impl FromStr for FilePurpose
Source§type Err = Infallible
type Err = Infallible
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<FilePurpose, <FilePurpose as FromStr>::Err>
fn from_str(s: &str) -> Result<FilePurpose, <FilePurpose as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreSource§impl PartialEq for FilePurpose
impl PartialEq for FilePurpose
Source§impl Serialize for FilePurpose
impl Serialize for FilePurpose
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for FilePurpose
impl StructuralPartialEq for FilePurpose
Auto Trait Implementations§
impl Freeze for FilePurpose
impl RefUnwindSafe for FilePurpose
impl Send for FilePurpose
impl Sync for FilePurpose
impl Unpin for FilePurpose
impl UnwindSafe for FilePurpose
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