Struct ory_client::models::update_recovery_flow_with_link_method::UpdateRecoveryFlowWithLinkMethod
source · pub struct UpdateRecoveryFlowWithLinkMethod {
pub csrf_token: Option<String>,
pub email: String,
pub method: String,
}
Expand description
UpdateRecoveryFlowWithLinkMethod : Update Recovery Flow with Link Method
Fields§
§csrf_token: Option<String>
Sending the anti-csrf token is only required for browser login flows.
email: 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
only right now.
Implementations§
source§impl UpdateRecoveryFlowWithLinkMethod
impl UpdateRecoveryFlowWithLinkMethod
sourcepub fn new(email: String, method: String) -> UpdateRecoveryFlowWithLinkMethod
pub fn new(email: String, method: String) -> UpdateRecoveryFlowWithLinkMethod
Update Recovery Flow with Link Method
Trait Implementations§
source§impl Clone for UpdateRecoveryFlowWithLinkMethod
impl Clone for UpdateRecoveryFlowWithLinkMethod
source§fn clone(&self) -> UpdateRecoveryFlowWithLinkMethod
fn clone(&self) -> UpdateRecoveryFlowWithLinkMethod
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 UpdateRecoveryFlowWithLinkMethod
impl<'de> Deserialize<'de> for UpdateRecoveryFlowWithLinkMethod
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<UpdateRecoveryFlowWithLinkMethod> for UpdateRecoveryFlowWithLinkMethod
impl PartialEq<UpdateRecoveryFlowWithLinkMethod> for UpdateRecoveryFlowWithLinkMethod
source§fn eq(&self, other: &UpdateRecoveryFlowWithLinkMethod) -> bool
fn eq(&self, other: &UpdateRecoveryFlowWithLinkMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.