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: DbRecord,
}Fields§
§email: String§password: String§remember_me: bool§ip_address: Option<String>§user_agent: Option<String>§additional_session_fields: DbRecordImplementations§
Source§impl SignInInput
impl SignInInput
pub fn new(email: impl Into<String>, password: impl Into<String>) -> Self
pub fn remember_me(self, remember_me: bool) -> Self
pub fn ip_address(self, ip_address: impl Into<String>) -> Self
pub fn user_agent(self, user_agent: impl Into<String>) -> Self
pub fn additional_session_fields(self, fields: DbRecord) -> Self
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
Source§fn eq(&self, other: &SignInInput) -> bool
fn eq(&self, other: &SignInInput) -> bool
Tests for
self and other values to be equal, and is used by ==.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