Struct ory_client::models::update_login_flow_with_code_method::UpdateLoginFlowWithCodeMethod
source · pub struct UpdateLoginFlowWithCodeMethod {
pub code: Option<String>,
pub csrf_token: String,
pub identifier: Option<String>,
pub method: String,
pub resend: Option<String>,
}Expand description
UpdateLoginFlowWithCodeMethod : Update Login flow using the code method
Fields§
§code: Option<String>Code is the 6 digits code sent to the user
csrf_token: StringCSRFToken is the anti-CSRF token
identifier: Option<String>Identifier is the code identifier The identifier requires that the user has already completed the registration or settings with code flow.
method: StringMethod should be set to "code" when logging in using the code strategy.
resend: Option<String>Resend is set when the user wants to resend the code
Implementations§
source§impl UpdateLoginFlowWithCodeMethod
impl UpdateLoginFlowWithCodeMethod
sourcepub fn new(csrf_token: String, method: String) -> UpdateLoginFlowWithCodeMethod
pub fn new(csrf_token: String, method: String) -> UpdateLoginFlowWithCodeMethod
Update Login flow using the code method
Trait Implementations§
source§impl Clone for UpdateLoginFlowWithCodeMethod
impl Clone for UpdateLoginFlowWithCodeMethod
source§fn clone(&self) -> UpdateLoginFlowWithCodeMethod
fn clone(&self) -> UpdateLoginFlowWithCodeMethod
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 UpdateLoginFlowWithCodeMethod
impl<'de> Deserialize<'de> for UpdateLoginFlowWithCodeMethod
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 UpdateLoginFlowWithCodeMethod
impl PartialEq for UpdateLoginFlowWithCodeMethod
source§fn eq(&self, other: &UpdateLoginFlowWithCodeMethod) -> bool
fn eq(&self, other: &UpdateLoginFlowWithCodeMethod) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateLoginFlowWithCodeMethod
Auto Trait Implementations§
impl RefUnwindSafe for UpdateLoginFlowWithCodeMethod
impl Send for UpdateLoginFlowWithCodeMethod
impl Sync for UpdateLoginFlowWithCodeMethod
impl Unpin for UpdateLoginFlowWithCodeMethod
impl UnwindSafe for UpdateLoginFlowWithCodeMethod
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