pub struct UpdateRegistrationFlowWithPasskeyMethod {
pub csrf_token: Option<String>,
pub method: String,
pub passkey_register: Option<String>,
pub traits: Value,
pub transient_payload: Option<Value>,
}Expand description
UpdateRegistrationFlowWithPasskeyMethod : Update Registration 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 Passkey.
passkey_register: Option<String>Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here.
traits: ValueThe identity’s traits
transient_payload: Option<Value>Transient data to pass along to any webhooks
Implementations§
Source§impl UpdateRegistrationFlowWithPasskeyMethod
impl UpdateRegistrationFlowWithPasskeyMethod
Sourcepub fn new(
method: String,
traits: Value,
) -> UpdateRegistrationFlowWithPasskeyMethod
pub fn new( method: String, traits: Value, ) -> UpdateRegistrationFlowWithPasskeyMethod
Update Registration Flow with Passkey Method
Trait Implementations§
Source§impl Clone for UpdateRegistrationFlowWithPasskeyMethod
impl Clone for UpdateRegistrationFlowWithPasskeyMethod
Source§fn clone(&self) -> UpdateRegistrationFlowWithPasskeyMethod
fn clone(&self) -> UpdateRegistrationFlowWithPasskeyMethod
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 UpdateRegistrationFlowWithPasskeyMethod
impl Default for UpdateRegistrationFlowWithPasskeyMethod
Source§fn default() -> UpdateRegistrationFlowWithPasskeyMethod
fn default() -> UpdateRegistrationFlowWithPasskeyMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateRegistrationFlowWithPasskeyMethod
impl<'de> Deserialize<'de> for UpdateRegistrationFlowWithPasskeyMethod
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 UpdateRegistrationFlowWithPasskeyMethod
impl PartialEq for UpdateRegistrationFlowWithPasskeyMethod
Source§fn eq(&self, other: &UpdateRegistrationFlowWithPasskeyMethod) -> bool
fn eq(&self, other: &UpdateRegistrationFlowWithPasskeyMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateRegistrationFlowWithPasskeyMethod
Auto Trait Implementations§
impl Freeze for UpdateRegistrationFlowWithPasskeyMethod
impl RefUnwindSafe for UpdateRegistrationFlowWithPasskeyMethod
impl Send for UpdateRegistrationFlowWithPasskeyMethod
impl Sync for UpdateRegistrationFlowWithPasskeyMethod
impl Unpin for UpdateRegistrationFlowWithPasskeyMethod
impl UnwindSafe for UpdateRegistrationFlowWithPasskeyMethod
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