[][src]Enum stripe::FilePurpose

pub enum FilePurpose {
    BusinessIcon,
    BusinessLogo,
    CustomerSignature,
    DisputeEvidence,
    FinanceReportRun,
    IdentityDocument,
    PciDocument,
    SigmaScheduledQuery,
    TaxDocumentUserUpload,
}

An enum representing the possible values of an File's purpose field.

Variants

BusinessIconCustomerSignatureDisputeEvidenceFinanceReportRunIdentityDocumentPciDocumentSigmaScheduledQueryTaxDocumentUserUpload

Methods

impl FilePurpose[src]

pub fn as_str(self) -> &'static str[src]

Trait Implementations

impl AsRef<str> for FilePurpose[src]

impl Eq for FilePurpose[src]

impl Clone for FilePurpose[src]

impl PartialEq<FilePurpose> for FilePurpose[src]

impl Copy for FilePurpose[src]

impl Display for FilePurpose[src]

impl Debug for FilePurpose[src]

impl Serialize for FilePurpose[src]

impl<'de> Deserialize<'de> for FilePurpose[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Same<T> for T

type Output = T

Should always be Self