pub struct GelatoDocumentReport {Show 15 fields
pub address: Option<Address>,
pub dob: Option<GelatoDataDocumentReportDateOfBirth>,
pub error: Option<GelatoDocumentReportError>,
pub expiration_date: Option<GelatoDataDocumentReportExpirationDate>,
pub files: Option<Vec<String>>,
pub first_name: Option<String>,
pub issued_date: Option<GelatoDataDocumentReportIssuedDate>,
pub issuing_country: Option<String>,
pub last_name: Option<String>,
pub number: Option<String>,
pub sex: Option<GelatoDocumentReportSex>,
pub status: GelatoDocumentReportStatus,
pub type_: Option<GelatoDocumentReportType>,
pub unparsed_place_of_birth: Option<String>,
pub unparsed_sex: Option<String>,
}Expand description
Result from a document check
Fields§
§address: Option<Address>Address as it appears in the document.
dob: Option<GelatoDataDocumentReportDateOfBirth>Date of birth as it appears in the document.
error: Option<GelatoDocumentReportError>Details on the verification error. Present when status is unverified.
expiration_date: Option<GelatoDataDocumentReportExpirationDate>Expiration date of the document.
files: Option<Vec<String>>Array of File ids containing images for this document.
first_name: Option<String>First name as it appears in the document.
issued_date: Option<GelatoDataDocumentReportIssuedDate>Issued date of the document.
issuing_country: Option<String>Issuing country of the document.
last_name: Option<String>Last name as it appears in the document.
number: Option<String>Document ID number.
sex: Option<GelatoDocumentReportSex>Sex of the person in the document.
status: GelatoDocumentReportStatusStatus of this document check.
type_: Option<GelatoDocumentReportType>Type of the document.
unparsed_place_of_birth: Option<String>Place of birth as it appears in the document.
unparsed_sex: Option<String>Sex as it appears in the document.
Trait Implementations§
Source§impl Clone for GelatoDocumentReport
impl Clone for GelatoDocumentReport
Source§fn clone(&self) -> GelatoDocumentReport
fn clone(&self) -> GelatoDocumentReport
Returns a duplicate 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 GelatoDocumentReport
impl Debug for GelatoDocumentReport
Source§impl Deserialize for GelatoDocumentReport
impl Deserialize for GelatoDocumentReport
Source§impl FromValueOpt for GelatoDocumentReport
impl FromValueOpt for GelatoDocumentReport
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for GelatoDocumentReport
impl RefUnwindSafe for GelatoDocumentReport
impl Send for GelatoDocumentReport
impl Sync for GelatoDocumentReport
impl Unpin for GelatoDocumentReport
impl UnwindSafe for GelatoDocumentReport
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