Struct ory_client::models::submit_self_service_settings_flow_with_password_method_body::SubmitSelfServiceSettingsFlowWithPasswordMethodBody
source · [−]pub struct SubmitSelfServiceSettingsFlowWithPasswordMethodBody {
pub csrf_token: Option<String>,
pub method: String,
pub password: String,
}
Fields
csrf_token: Option<String>
CSRFToken is the anti-CSRF token
method: String
Method Should be set to password when trying to update a password.
password: String
Password is the updated password
Implementations
pub fn new(
method: String,
password: String
) -> SubmitSelfServiceSettingsFlowWithPasswordMethodBody
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more