pub struct CreateIdentityVerificationSessionOptionsDocument {
pub allowed_types: Option<Vec<CreateIdentityVerificationSessionOptionsDocumentAllowedTypes>>,
pub require_id_number: Option<bool>,
pub require_live_capture: Option<bool>,
pub require_matching_selfie: Option<bool>,
}
Expand description
Options that apply to the document check.
Fields§
§allowed_types: Option<Vec<CreateIdentityVerificationSessionOptionsDocumentAllowedTypes>>
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.
Implementations§
Trait Implementations§
Source§impl Clone for CreateIdentityVerificationSessionOptionsDocument
impl Clone for CreateIdentityVerificationSessionOptionsDocument
Source§fn clone(&self) -> CreateIdentityVerificationSessionOptionsDocument
fn clone(&self) -> CreateIdentityVerificationSessionOptionsDocument
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 moreAuto Trait Implementations§
impl Freeze for CreateIdentityVerificationSessionOptionsDocument
impl RefUnwindSafe for CreateIdentityVerificationSessionOptionsDocument
impl Send for CreateIdentityVerificationSessionOptionsDocument
impl Sync for CreateIdentityVerificationSessionOptionsDocument
impl Unpin for CreateIdentityVerificationSessionOptionsDocument
impl UnwindSafe for CreateIdentityVerificationSessionOptionsDocument
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