#[repr(C)]pub struct es_event_authentication_touchid_t {
pub instigator: ShouldNotBeNull<es_process_t>,
pub touchid_mode: es_touchid_mode_t,
pub has_uid: bool,
pub anon0: es_event_authentication_touchid_t_anon0,
}Available on macOS and crate feature
macos_13_0_0 only.Expand description
TouchID authentication data for type
ES_AUTHENTICATION_TYPE_TOUCHID.
Fields§
§instigator: ShouldNotBeNull<es_process_t>Process that instigated the authentication (XPC caller that asked for authentication).
touchid_mode: es_touchid_mode_tTouchID authentication type
has_uid: boolDescribes whether or not the uid of the user authenticated is available
anon0: es_event_authentication_touchid_t_anon0Union that is valid when has_uid is set to true
Implementations§
Source§impl es_event_authentication_touchid_t
Accessors for ShouldNotBeNull fields
impl es_event_authentication_touchid_t
Accessors for ShouldNotBeNull fields
Sourcepub unsafe fn instigator(&self) -> &es_process_t
pub unsafe fn instigator(&self) -> &es_process_t
Gives a references to the field while checking for null.
§Safety
See ShouldNotBeNull safety requirements.
Auto Trait Implementations§
impl Freeze for es_event_authentication_touchid_t
impl RefUnwindSafe for es_event_authentication_touchid_t
impl !Send for es_event_authentication_touchid_t
impl !Sync for es_event_authentication_touchid_t
impl Unpin for es_event_authentication_touchid_t
impl UnwindSafe for es_event_authentication_touchid_t
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