[][src]Struct stripe::PersonVerificationDocument

pub struct PersonVerificationDocument {
    pub back: Option<Expandable<File>>,
    pub details: Option<String>,
    pub details_code: Option<String>,
    pub front: Option<Expandable<File>>,
}

Fields

back: Option<Expandable<File>>

The back of an ID returned by a file upload with a purpose value of identity_document.

details: Option<String>

A user-displayable string describing the verification state of this document.

For example, if a document is uploaded and the picture is too fuzzy, this may say "Identity document is too unclear to read".

details_code: Option<String>

One of document_corrupt, document_failed_copy, document_not_readable, document_failed_greyscale, document_not_uploaded, document_id_type_not_supported, document_id_country_not_supported, document_failed_other, document_fraudulent, document_invalid, document_manipulated, document_missing_back, document_missing_front, document_photo_mismatch, document_too_large, or document_failed_test_mode.

A machine-readable code specifying the verification state for this document.

front: Option<Expandable<File>>

The front of an ID returned by a file upload with a purpose value of identity_document.

Trait Implementations

impl Clone for PersonVerificationDocument[src]

impl Debug for PersonVerificationDocument[src]

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

impl Serialize for PersonVerificationDocument[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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.