Struct stripe::PersonVerificationDocument [−][src]
pub struct PersonVerificationDocument {
pub back: Option<Box<Expandable<File>>>,
pub details: Option<Box<String>>,
pub details_code: Option<Box<String>>,
pub front: Option<Box<Expandable<File>>>,
}
Fields
back: Option<Box<Expandable<File>>>
The back of an ID returned by a file upload with a purpose
value of identity_document
.
details: Option<Box<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<Box<String>>
One of document_corrupt
, document_country_not_supported
, document_expired
, document_failed_copy
, document_failed_other
, document_failed_test_mode
, document_fraudulent
, document_failed_greyscale
, document_incomplete
, document_invalid
, document_manipulated
, document_missing_back
, document_missing_front
, document_not_readable
, document_not_uploaded
, document_photo_mismatch
, document_too_large
, or document_type_not_supported
.
A machine-readable code specifying the verification state for this document.
front: Option<Box<Expandable<File>>>
The front of an ID returned by a file upload with a purpose
value of identity_document
.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PersonVerificationDocument
impl Send for PersonVerificationDocument
impl Sync for PersonVerificationDocument
impl Unpin for PersonVerificationDocument
impl UnwindSafe for PersonVerificationDocument
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more