#[non_exhaustive]pub struct PasskeySignUp {
pub context: Option<String>,
pub name: Option<String>,
}Expand description
A signed-out registration asking for a user: what Passkey::sign_up’s resolver gets.
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.context: Option<String>The context query parameter of generate-register-options (Better Auth’s
addPasskey({ context })), as the client sent it. Anything the app chooses, such as
a signed token from its own sign-up form. Untrusted input.
name: Option<String>The name query parameter: the account name the authenticator will show.
Trait Implementations§
Source§impl Clone for PasskeySignUp
impl Clone for PasskeySignUp
Source§impl Debug for PasskeySignUp
impl Debug for PasskeySignUp
Auto Trait Implementations§
impl Forget for PasskeySignUp
impl Freeze for PasskeySignUp
impl Move for PasskeySignUp
impl RefUnwindSafe for PasskeySignUp
impl Send for PasskeySignUp
impl Sync for PasskeySignUp
impl Unpin for PasskeySignUp
impl UnsafeUnpin for PasskeySignUp
impl UnwindSafe for PasskeySignUp
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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