pub struct LoginStatus {
pub last_login_date: Option<DateTime<Utc>>,
pub never_logged_in: Option<bool>,
pub failed_login_attempts: Option<u32>,
}Expand description
Login status information
Fields§
§last_login_date: Option<DateTime<Utc>>Last login date
never_logged_in: Option<bool>Whether the user has ever logged in
failed_login_attempts: Option<u32>Number of failed login attempts
Trait Implementations§
Source§impl Clone for LoginStatus
impl Clone for LoginStatus
Source§fn clone(&self) -> LoginStatus
fn clone(&self) -> LoginStatus
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 LoginStatus
impl Debug for LoginStatus
Source§impl<'de> Deserialize<'de> for LoginStatus
impl<'de> Deserialize<'de> for LoginStatus
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
Auto Trait Implementations§
impl Freeze for LoginStatus
impl RefUnwindSafe for LoginStatus
impl Send for LoginStatus
impl Sync for LoginStatus
impl Unpin for LoginStatus
impl UnwindSafe for LoginStatus
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