pub struct DefaultClientDataWithExtra<E: Serialize>(pub E);
Expand description
The extra client data will be appended to the automatically generated client data. The hash will be automatically generated from the result client data according to the WebAuthn specification.
Tuple Fields§
§0: E
Trait Implementations§
Source§impl<E: Serialize + Clone> ClientData<E> for DefaultClientDataWithExtra<E>
impl<E: Serialize + Clone> ClientData<E> for DefaultClientDataWithExtra<E>
Source§fn extra_client_data(&self) -> E
fn extra_client_data(&self) -> E
Extra client data to be appended to the automatically generated client data.
Auto Trait Implementations§
impl<E> Freeze for DefaultClientDataWithExtra<E>where
E: Freeze,
impl<E> RefUnwindSafe for DefaultClientDataWithExtra<E>where
E: RefUnwindSafe,
impl<E> Send for DefaultClientDataWithExtra<E>where
E: Send,
impl<E> Sync for DefaultClientDataWithExtra<E>where
E: Sync,
impl<E> Unpin for DefaultClientDataWithExtra<E>where
E: Unpin,
impl<E> UnwindSafe for DefaultClientDataWithExtra<E>where
E: UnwindSafe,
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