pub struct DefaultClientDataWithCustomHash(pub Vec<u8>);
Expand description
The client data will be automatically generated from the request according to the WebAuthn specification but it will not be used as a base for the hash. The client data hash will instead be provided by the caller.
Tuple Fields§
§0: Vec<u8>
Trait Implementations§
Source§impl ClientData<()> for DefaultClientDataWithCustomHash
impl ClientData<()> for DefaultClientDataWithCustomHash
Source§fn extra_client_data(&self)
fn extra_client_data(&self)
Extra client data to be appended to the automatically generated client data.
Auto Trait Implementations§
impl Freeze for DefaultClientDataWithCustomHash
impl RefUnwindSafe for DefaultClientDataWithCustomHash
impl Send for DefaultClientDataWithCustomHash
impl Sync for DefaultClientDataWithCustomHash
impl Unpin for DefaultClientDataWithCustomHash
impl UnwindSafe for DefaultClientDataWithCustomHash
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