pub enum UserClientResponse {
VerifyFingerprint {
approved: bool,
name: Option<String>,
},
RespondCredential {
request_id: String,
session_id: String,
query: CredentialQuery,
approved: bool,
credential: Option<CredentialData>,
credential_id: Option<String>,
},
}Expand description
Response actions for events requiring user decision
Variants§
VerifyFingerprint
Respond to fingerprint verification prompt
Fields
RespondCredential
Respond to a credential request
Fields
§
query: CredentialQueryThe query that triggered this request
§
credential: Option<CredentialData>The credential to send (if approved)
Trait Implementations§
Source§impl Clone for UserClientResponse
impl Clone for UserClientResponse
Source§fn clone(&self) -> UserClientResponse
fn clone(&self) -> UserClientResponse
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 UserClientResponse
impl RefUnwindSafe for UserClientResponse
impl Send for UserClientResponse
impl Sync for UserClientResponse
impl Unpin for UserClientResponse
impl UnsafeUnpin for UserClientResponse
impl UnwindSafe for UserClientResponse
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