pub struct GelatoSessionDocumentOptions {
pub allowed_types: Option<Vec<GelatoSessionDocumentOptionsAllowedTypes>>,
pub require_id_number: Option<bool>,
pub require_live_capture: Option<bool>,
pub require_matching_selfie: Option<bool>,
}Fields§
§allowed_types: Option<Vec<GelatoSessionDocumentOptionsAllowedTypes>>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 GelatoSessionDocumentOptions
impl Clone for GelatoSessionDocumentOptions
Source§fn clone(&self) -> GelatoSessionDocumentOptions
fn clone(&self) -> GelatoSessionDocumentOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GelatoSessionDocumentOptions
impl Debug for GelatoSessionDocumentOptions
impl Eq for GelatoSessionDocumentOptions
Source§impl FromValueOpt for GelatoSessionDocumentOptions
impl FromValueOpt for GelatoSessionDocumentOptions
fn from_value(v: Value) -> Option<Self>
impl StructuralPartialEq for GelatoSessionDocumentOptions
Auto Trait Implementations§
impl Freeze for GelatoSessionDocumentOptions
impl RefUnwindSafe for GelatoSessionDocumentOptions
impl Send for GelatoSessionDocumentOptions
impl Sync for GelatoSessionDocumentOptions
impl Unpin for GelatoSessionDocumentOptions
impl UnsafeUnpin for GelatoSessionDocumentOptions
impl UnwindSafe for GelatoSessionDocumentOptions
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