pub struct SignInInput {
pub email: String,
pub password: String,
pub remember_me: bool,
pub ip_address: Option<String>,
pub user_agent: Option<String>,
pub additional_session_fields: IndexMap<String, DbValue>,
}Fields§
§email: String§password: String§remember_me: bool§ip_address: Option<String>§user_agent: Option<String>§additional_session_fields: IndexMap<String, DbValue>Implementations§
Source§impl SignInInput
impl SignInInput
pub fn new(email: impl Into<String>, password: impl Into<String>) -> SignInInput
pub fn remember_me(self, remember_me: bool) -> SignInInput
pub fn ip_address(self, ip_address: impl Into<String>) -> SignInInput
pub fn user_agent(self, user_agent: impl Into<String>) -> SignInInput
pub fn additional_session_fields( self, fields: IndexMap<String, DbValue>, ) -> SignInInput
Trait Implementations§
Source§impl Clone for SignInInput
impl Clone for SignInInput
Source§fn clone(&self) -> SignInInput
fn clone(&self) -> SignInInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SignInInput
impl Debug for SignInInput
Source§impl PartialEq for SignInInput
impl PartialEq for SignInInput
impl StructuralPartialEq for SignInInput
Auto Trait Implementations§
impl Freeze for SignInInput
impl RefUnwindSafe for SignInInput
impl Send for SignInInput
impl Sync for SignInInput
impl Unpin for SignInInput
impl UnsafeUnpin for SignInInput
impl UnwindSafe for SignInInput
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