pub struct IdentityVerificationReport {
pub created: i64,
pub document: Option<GelatoDocumentReport>,
pub id: String,
pub id_number: Option<GelatoIdNumberReport>,
pub livemode: bool,
pub object: String,
pub options: Option<GelatoVerificationReportOptions>,
pub selfie: Option<GelatoSelfieReport>,
pub type_: Option<String>,
pub verification_session: Option<String>,
}
Expand description
A VerificationReport is the result of an attempt to collect and verify data from a user.
The collection of verification checks performed is determined from the type
and options
parameters used. You can find the result of each verification check performed in the
appropriate sub-resource: document
, id_number
, selfie
.
Each VerificationReport contains a copy of any data collected by the user as well as reference IDs which can be used to access collected images through the FileUpload API. To configure and create VerificationReports, use the VerificationSession API.
Related guides: Accessing verification results.
Fields§
§created: i64
Time at which the object was created. Measured in seconds since the Unix epoch.
document: Option<GelatoDocumentReport>
Result from a document check
id: String
Unique identifier for the object.
id_number: Option<GelatoIdNumberReport>
Result from an id_number check
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
object: String
String representing the object’s type. Objects of the same type share the same value.
options: Option<GelatoVerificationReportOptions>
§selfie: Option<GelatoSelfieReport>
Result from a selfie check
type_: Option<String>
Type of report.
verification_session: Option<String>
ID of the VerificationSession that created this report.
Trait Implementations§
Source§impl Clone for IdentityVerificationReport
impl Clone for IdentityVerificationReport
Source§fn clone(&self) -> IdentityVerificationReport
fn clone(&self) -> IdentityVerificationReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more