pub struct SubmitSelfServiceLoginFlow {
pub csrf_token: Option<String>,
pub method: Option<String>,
pub password: Option<String>,
pub password_identifier: Option<String>,
}Fields§
§csrf_token: Option<String>Sending the anti-csrf token is only required for browser login flows.
method: Option<String>Method should be set to "password" when logging in using the identifier and password strategy.
password: Option<String>The user’s password.
password_identifier: Option<String>Identifier is the email or username of the user trying to log in.
Implementations§
Source§impl SubmitSelfServiceLoginFlow
impl SubmitSelfServiceLoginFlow
pub fn new() -> SubmitSelfServiceLoginFlow
Trait Implementations§
Source§impl Clone for SubmitSelfServiceLoginFlow
impl Clone for SubmitSelfServiceLoginFlow
Source§fn clone(&self) -> SubmitSelfServiceLoginFlow
fn clone(&self) -> SubmitSelfServiceLoginFlow
Returns a duplicate 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 Debug for SubmitSelfServiceLoginFlow
impl Debug for SubmitSelfServiceLoginFlow
Source§impl<'de> Deserialize<'de> for SubmitSelfServiceLoginFlow
impl<'de> Deserialize<'de> for SubmitSelfServiceLoginFlow
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
impl StructuralPartialEq for SubmitSelfServiceLoginFlow
Auto Trait Implementations§
impl Freeze for SubmitSelfServiceLoginFlow
impl RefUnwindSafe for SubmitSelfServiceLoginFlow
impl Send for SubmitSelfServiceLoginFlow
impl Sync for SubmitSelfServiceLoginFlow
impl Unpin for SubmitSelfServiceLoginFlow
impl UnwindSafe for SubmitSelfServiceLoginFlow
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