pub struct UpdateSettingsFlowWithPasskeyMethod {
pub csrf_token: Option<String>,
pub method: String,
pub passkey_remove: Option<String>,
pub passkey_settings_register: Option<String>,
}Expand description
UpdateSettingsFlowWithPasskeyMethod : Update Settings Flow with Passkey Method
Fields§
§csrf_token: Option<String>CSRFToken is the anti-CSRF token
method: StringMethod Should be set to "passkey" when trying to add, update, or remove a webAuthn pairing.
passkey_remove: Option<String>Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection.
passkey_settings_register: Option<String>Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here.
Implementations§
Source§impl UpdateSettingsFlowWithPasskeyMethod
impl UpdateSettingsFlowWithPasskeyMethod
Sourcepub fn new(method: String) -> UpdateSettingsFlowWithPasskeyMethod
pub fn new(method: String) -> UpdateSettingsFlowWithPasskeyMethod
Update Settings Flow with Passkey Method
Trait Implementations§
Source§impl Clone for UpdateSettingsFlowWithPasskeyMethod
impl Clone for UpdateSettingsFlowWithPasskeyMethod
Source§fn clone(&self) -> UpdateSettingsFlowWithPasskeyMethod
fn clone(&self) -> UpdateSettingsFlowWithPasskeyMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for UpdateSettingsFlowWithPasskeyMethod
impl Default for UpdateSettingsFlowWithPasskeyMethod
Source§fn default() -> UpdateSettingsFlowWithPasskeyMethod
fn default() -> UpdateSettingsFlowWithPasskeyMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateSettingsFlowWithPasskeyMethod
impl<'de> Deserialize<'de> for UpdateSettingsFlowWithPasskeyMethod
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
Source§impl PartialEq for UpdateSettingsFlowWithPasskeyMethod
impl PartialEq for UpdateSettingsFlowWithPasskeyMethod
Source§fn eq(&self, other: &UpdateSettingsFlowWithPasskeyMethod) -> bool
fn eq(&self, other: &UpdateSettingsFlowWithPasskeyMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateSettingsFlowWithPasskeyMethod
Auto Trait Implementations§
impl Freeze for UpdateSettingsFlowWithPasskeyMethod
impl RefUnwindSafe for UpdateSettingsFlowWithPasskeyMethod
impl Send for UpdateSettingsFlowWithPasskeyMethod
impl Sync for UpdateSettingsFlowWithPasskeyMethod
impl Unpin for UpdateSettingsFlowWithPasskeyMethod
impl UnwindSafe for UpdateSettingsFlowWithPasskeyMethod
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