pub struct IdentityVerificationDocumentAddressResponse {
pub city: String,
pub country: String,
pub postal_code: Option<String>,
pub region: Option<String>,
pub street: String,
}
Expand description
The address extracted from the document. The address must at least contain the following fields to be a valid address: street
, city
, country
. If any are missing or unable to be extracted, the address will be null.
region
, and postal_code
may be null based on the addressing system. For example:
Addresses from the United Kingdom will not include a region
Addresses from Hong Kong will not include postal code
Note: Optical Character Recognition (OCR) technology may sometimes extract incorrect data from a document.
Fields§
§city: String
City extracted from the document.
country: String
Valid, capitalized, two-letter ISO code representing the country extracted from the document. Must be in ISO 3166-1 alpha-2 form.
postal_code: Option<String>
The postal code extracted from the document. Between 2 and 10 alphanumeric characters. For US-based addresses this must be 5 numeric digits.
region: Option<String>
An ISO 3166-2 subdivision code extracted from the document. Related terms would be “state”, “province”, “prefecture”, “zone”, “subdivision”, etc.
street: String
The full street address extracted from the document.
Trait Implementations§
source§impl Clone for IdentityVerificationDocumentAddressResponse
impl Clone for IdentityVerificationDocumentAddressResponse
source§fn clone(&self) -> IdentityVerificationDocumentAddressResponse
fn clone(&self) -> IdentityVerificationDocumentAddressResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more