Struct ory_client::models::update_verification_flow_with_link_method::UpdateVerificationFlowWithLinkMethod
source · pub struct UpdateVerificationFlowWithLinkMethod {
pub csrf_token: Option<String>,
pub email: String,
pub method: MethodEnum,
}Expand description
UpdateVerificationFlowWithLinkMethod : Update Verification Flow with Link Method
Fields§
§csrf_token: Option<String>Sending the anti-csrf token is only required for browser login flows.
email: StringEmail to Verify Needs to be set when initiating the flow. If the email is a registered verification email, a verification link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email
method: MethodEnumMethod is the method that should be used for this verification flow Allowed values are link and code link VerificationStrategyLink code VerificationStrategyCode
Implementations§
source§impl UpdateVerificationFlowWithLinkMethod
impl UpdateVerificationFlowWithLinkMethod
sourcepub fn new(
email: String,
method: MethodEnum
) -> UpdateVerificationFlowWithLinkMethod
pub fn new( email: String, method: MethodEnum ) -> UpdateVerificationFlowWithLinkMethod
Update Verification Flow with Link Method
Trait Implementations§
source§impl Clone for UpdateVerificationFlowWithLinkMethod
impl Clone for UpdateVerificationFlowWithLinkMethod
source§fn clone(&self) -> UpdateVerificationFlowWithLinkMethod
fn clone(&self) -> UpdateVerificationFlowWithLinkMethod
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 UpdateVerificationFlowWithLinkMethod
impl<'de> Deserialize<'de> for UpdateVerificationFlowWithLinkMethod
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 UpdateVerificationFlowWithLinkMethod
impl PartialEq for UpdateVerificationFlowWithLinkMethod
source§fn eq(&self, other: &UpdateVerificationFlowWithLinkMethod) -> bool
fn eq(&self, other: &UpdateVerificationFlowWithLinkMethod) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateVerificationFlowWithLinkMethod
Auto Trait Implementations§
impl RefUnwindSafe for UpdateVerificationFlowWithLinkMethod
impl Send for UpdateVerificationFlowWithLinkMethod
impl Sync for UpdateVerificationFlowWithLinkMethod
impl Unpin for UpdateVerificationFlowWithLinkMethod
impl UnwindSafe for UpdateVerificationFlowWithLinkMethod
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