#[non_exhaustive]pub struct Challenge {
pub challenge: Bytes,
pub public_key_pem: String,
/* private fields */
}Expand description
A challenge to be signed by a 2FA key.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.challenge: BytesOutput only. The challenge to be signed by the 2FA key indicated by the public key.
public_key_pem: StringOutput only. The public key associated with the 2FA key that should sign the challenge.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Challenge
Auto Trait Implementations§
impl !Freeze for Challenge
impl RefUnwindSafe for Challenge
impl Send for Challenge
impl Sync for Challenge
impl Unpin for Challenge
impl UnsafeUnpin for Challenge
impl UnwindSafe for Challenge
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