pub struct PersonVerification {
pub additional_document: Option<PersonVerificationDocument>,
pub details: Option<String>,
pub details_code: Option<String>,
pub document: Option<PersonVerificationDocument>,
pub status: String,
}
Fields§
§additional_document: Option<PersonVerificationDocument>
A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
details: Option<String>
A user-displayable string describing the verification state for the person.
For example, this may say “Provided identity information could not be verified”.
details_code: Option<String>
One of document_address_mismatch
, document_dob_mismatch
, document_duplicate_type
, document_id_number_mismatch
, document_name_mismatch
, document_nationality_mismatch
, failed_keyed_identity
, or failed_other
.
A machine-readable code specifying the verification state for the person.
document: Option<PersonVerificationDocument>
§status: String
The state of verification for the person.
Possible values are unverified
, pending
, or verified
.
Trait Implementations§
source§impl Clone for PersonVerification
impl Clone for PersonVerification
source§fn clone(&self) -> PersonVerification
fn clone(&self) -> PersonVerification
Returns a copy 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 PersonVerification
impl Debug for PersonVerification
source§impl Default for PersonVerification
impl Default for PersonVerification
source§fn default() -> PersonVerification
fn default() -> PersonVerification
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PersonVerification
impl<'de> Deserialize<'de> for PersonVerification
source§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 PersonVerification
impl Send for PersonVerification
impl Sync for PersonVerification
impl Unpin for PersonVerification
impl UnwindSafe for PersonVerification
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