pub struct Options {
pub reader_name: Option<String>,
pub show_face_image: bool,
pub show_nhso_data: bool,
pub show_laser_data: bool,
}Expand description
Controls which data sections are read from the Thai National ID card.
When reader_name is None, the first available reader with a card is used.
Face images are returned as a base64-encoded JPEG string.
Fields§
§reader_name: Option<String>§show_face_image: bool§show_nhso_data: bool§show_laser_data: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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