Struct ory_client::models::update_recovery_flow_with_code_method::UpdateRecoveryFlowWithCodeMethod
source · pub struct UpdateRecoveryFlowWithCodeMethod {
pub code: Option<String>,
pub csrf_token: Option<String>,
pub email: Option<String>,
pub method: String,
}
Expand description
UpdateRecoveryFlowWithCodeMethod : Update Recovery Flow with Code Method
Fields§
§code: Option<String>
Code from recovery email Sent to the user once a recovery has been initiated and is used to prove that the user is in possession of the email
csrf_token: Option<String>
Sending the anti-csrf token is only required for browser login flows.
email: Option<String>
Email to Recover Needs to be set when initiating the flow. If the email is a registered recovery email, a recovery link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email
method: String
Method supports link
and code
only right now.
Implementations§
source§impl UpdateRecoveryFlowWithCodeMethod
impl UpdateRecoveryFlowWithCodeMethod
sourcepub fn new(method: String) -> UpdateRecoveryFlowWithCodeMethod
pub fn new(method: String) -> UpdateRecoveryFlowWithCodeMethod
Update Recovery Flow with Code Method
Trait Implementations§
source§impl Clone for UpdateRecoveryFlowWithCodeMethod
impl Clone for UpdateRecoveryFlowWithCodeMethod
source§fn clone(&self) -> UpdateRecoveryFlowWithCodeMethod
fn clone(&self) -> UpdateRecoveryFlowWithCodeMethod
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 UpdateRecoveryFlowWithCodeMethod
impl<'de> Deserialize<'de> for UpdateRecoveryFlowWithCodeMethod
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<UpdateRecoveryFlowWithCodeMethod> for UpdateRecoveryFlowWithCodeMethod
impl PartialEq<UpdateRecoveryFlowWithCodeMethod> for UpdateRecoveryFlowWithCodeMethod
source§fn eq(&self, other: &UpdateRecoveryFlowWithCodeMethod) -> bool
fn eq(&self, other: &UpdateRecoveryFlowWithCodeMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.