pub struct GelatoReportDocumentOptions {
pub allowed_types: Option<Vec<GelatoReportDocumentOptionsAllowedTypes>>,
pub require_id_number: Option<bool>,
pub require_live_capture: Option<bool>,
pub require_matching_selfie: Option<bool>,
}
Fields§
§allowed_types: Option<Vec<GelatoReportDocumentOptionsAllowedTypes>>
Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code.
require_id_number: Option<bool>
Collect an ID number and perform an ID number check with the document’s extracted name and date of birth.
require_live_capture: Option<bool>
Disable image uploads, identity document images have to be captured using the device’s camera.
require_matching_selfie: Option<bool>
Capture a face image and perform a selfie check comparing a photo ID and a picture of your user’s face. Learn more.
Trait Implementations§
Source§impl Clone for GelatoReportDocumentOptions
impl Clone for GelatoReportDocumentOptions
Source§fn clone(&self) -> GelatoReportDocumentOptions
fn clone(&self) -> GelatoReportDocumentOptions
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 GelatoReportDocumentOptions
impl Debug for GelatoReportDocumentOptions
Source§impl FromValueOpt for GelatoReportDocumentOptions
impl FromValueOpt for GelatoReportDocumentOptions
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for GelatoReportDocumentOptions
impl RefUnwindSafe for GelatoReportDocumentOptions
impl Send for GelatoReportDocumentOptions
impl Sync for GelatoReportDocumentOptions
impl Unpin for GelatoReportDocumentOptions
impl UnwindSafe for GelatoReportDocumentOptions
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