pub struct UpdateSettingsFlowWithPasswordMethod {
pub csrf_token: Option<String>,
pub method: String,
pub password: String,
pub transient_payload: Option<Value>,
}
Expand description
UpdateSettingsFlowWithPasswordMethod : Update Settings Flow with Password Method
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
transient_payload: Option<Value>
Transient data to pass along to any webhooks
Implementations§
Source§impl UpdateSettingsFlowWithPasswordMethod
impl UpdateSettingsFlowWithPasswordMethod
Sourcepub fn new(
method: String,
password: String,
) -> UpdateSettingsFlowWithPasswordMethod
pub fn new( method: String, password: String, ) -> UpdateSettingsFlowWithPasswordMethod
Update Settings Flow with Password Method
Trait Implementations§
Source§impl Clone for UpdateSettingsFlowWithPasswordMethod
impl Clone for UpdateSettingsFlowWithPasswordMethod
Source§fn clone(&self) -> UpdateSettingsFlowWithPasswordMethod
fn clone(&self) -> UpdateSettingsFlowWithPasswordMethod
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 UpdateSettingsFlowWithPasswordMethod
impl<'de> Deserialize<'de> for UpdateSettingsFlowWithPasswordMethod
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 UpdateSettingsFlowWithPasswordMethod
impl PartialEq for UpdateSettingsFlowWithPasswordMethod
Source§fn eq(&self, other: &UpdateSettingsFlowWithPasswordMethod) -> bool
fn eq(&self, other: &UpdateSettingsFlowWithPasswordMethod) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateSettingsFlowWithPasswordMethod
Auto Trait Implementations§
impl Freeze for UpdateSettingsFlowWithPasswordMethod
impl RefUnwindSafe for UpdateSettingsFlowWithPasswordMethod
impl Send for UpdateSettingsFlowWithPasswordMethod
impl Sync for UpdateSettingsFlowWithPasswordMethod
impl Unpin for UpdateSettingsFlowWithPasswordMethod
impl UnwindSafe for UpdateSettingsFlowWithPasswordMethod
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