pub struct UpdateRegistrationFlowWithCodeMethod {
pub code: Option<String>,
pub csrf_token: Option<String>,
pub method: String,
pub resend: Option<String>,
pub traits: Value,
pub transient_payload: Option<Value>,
}Expand description
UpdateRegistrationFlowWithCodeMethod : Update Registration Flow with Code Method
Fields§
§code: Option<String>The OTP Code sent to the user
csrf_token: Option<String>The CSRF Token
method: StringMethod to use This field must be set to code when using the code method.
resend: Option<String>Resend restarts the flow with a new code
traits: ValueThe identity’s traits
transient_payload: Option<Value>Transient data to pass along to any webhooks
Implementations§
Source§impl UpdateRegistrationFlowWithCodeMethod
impl UpdateRegistrationFlowWithCodeMethod
Sourcepub fn new(
method: String,
traits: Value,
) -> UpdateRegistrationFlowWithCodeMethod
pub fn new( method: String, traits: Value, ) -> UpdateRegistrationFlowWithCodeMethod
Update Registration Flow with Code Method
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UpdateRegistrationFlowWithCodeMethod
impl<'de> Deserialize<'de> for UpdateRegistrationFlowWithCodeMethod
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
impl StructuralPartialEq for UpdateRegistrationFlowWithCodeMethod
Auto Trait Implementations§
impl Forget for UpdateRegistrationFlowWithCodeMethod
impl Freeze for UpdateRegistrationFlowWithCodeMethod
impl RefUnwindSafe for UpdateRegistrationFlowWithCodeMethod
impl Send for UpdateRegistrationFlowWithCodeMethod
impl Sync for UpdateRegistrationFlowWithCodeMethod
impl Unpin for UpdateRegistrationFlowWithCodeMethod
impl UnsafeUnpin for UpdateRegistrationFlowWithCodeMethod
impl UnwindSafe for UpdateRegistrationFlowWithCodeMethod
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