pub struct Verified {
pub method: Method,
pub token: Vec<u8>,
}Expand description
A passed prompt.
Fields§
§method: MethodHow the person passed.
token: Vec<u8>The platform’s authentication token, where one exists: HarmonyOS returns the User Authentication Kit’s token (up to 1024 bytes), bound to the prompt’s challenge and accepted once by a key generated with the same binding. Empty on every other platform.
Trait Implementations§
impl Eq for Verified
impl StructuralPartialEq for Verified
Auto Trait Implementations§
impl Freeze for Verified
impl RefUnwindSafe for Verified
impl Send for Verified
impl Sync for Verified
impl Unpin for Verified
impl UnsafeUnpin for Verified
impl UnwindSafe for Verified
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