pub struct RecoverOptionsRequest {
pub magic_link_token: String,
}Expand description
Validates a magic-link token (without consuming it) and returns WebAuthn credential-creation options to enroll a fresh passkey.
JSON schema
{
"title": "RecoverOptionsRequest",
"description": "Validates a magic-link token (without consuming it) and
returns WebAuthn credential-creation options to enroll a fresh
passkey.",
"type": "object",
"required": [
"magic_link_token"
],
"properties": {
"magic_link_token": {
"description": "The raw token from the recovery email.",
"type": "string"
}
}
}Fields§
§magic_link_token: StringThe raw token from the recovery email.
Trait Implementations§
Source§impl Clone for RecoverOptionsRequest
impl Clone for RecoverOptionsRequest
Source§fn clone(&self) -> RecoverOptionsRequest
fn clone(&self) -> RecoverOptionsRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecoverOptionsRequest
impl Debug for RecoverOptionsRequest
Source§impl<'de> Deserialize<'de> for RecoverOptionsRequest
impl<'de> Deserialize<'de> for RecoverOptionsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RecoverOptionsRequest
impl RefUnwindSafe for RecoverOptionsRequest
impl Send for RecoverOptionsRequest
impl Sync for RecoverOptionsRequest
impl Unpin for RecoverOptionsRequest
impl UnsafeUnpin for RecoverOptionsRequest
impl UnwindSafe for RecoverOptionsRequest
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