Struct ory_client::models::update_registration_flow_with_code_method::UpdateRegistrationFlowWithCodeMethod
source · 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 Clone for UpdateRegistrationFlowWithCodeMethod
impl Clone for UpdateRegistrationFlowWithCodeMethod
source§fn clone(&self) -> UpdateRegistrationFlowWithCodeMethod
fn clone(&self) -> UpdateRegistrationFlowWithCodeMethod
Returns a copy 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<'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
source§impl PartialEq for UpdateRegistrationFlowWithCodeMethod
impl PartialEq for UpdateRegistrationFlowWithCodeMethod
source§fn eq(&self, other: &UpdateRegistrationFlowWithCodeMethod) -> bool
fn eq(&self, other: &UpdateRegistrationFlowWithCodeMethod) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateRegistrationFlowWithCodeMethod
Auto Trait Implementations§
impl RefUnwindSafe for UpdateRegistrationFlowWithCodeMethod
impl Send for UpdateRegistrationFlowWithCodeMethod
impl Sync for UpdateRegistrationFlowWithCodeMethod
impl Unpin 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