pub struct LoginHistoryItem {
pub action: String,
pub browser: String,
pub country: String,
pub datetime: String,
pub device: String,
pub environment: String,
pub ip: String,
pub language: String,
pub os: String,
pub status: Status,
pub time: i64,
pub version: String,
}Expand description
User login history
Fields§
§action: StringType of action.\n
browser: StringBrowser used\n
country: StringCountry the login originated (IP Based))\n
datetime: StringISO6801 timestame of the activity\n
device: StringClient device\n
environment: StringProvides details about browser, device used during login or logout\n
ip: StringIP Address the login was from\n
language: StringBrowser language\n
os: StringOperating system\n
status: StatusStatus of activity: 1 - success, 0 - failure\n
time: i64Epoch time of the activity\n
version: StringVersion of the browser\n
Trait Implementations§
Source§impl Clone for LoginHistoryItem
impl Clone for LoginHistoryItem
Source§fn clone(&self) -> LoginHistoryItem
fn clone(&self) -> LoginHistoryItem
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 LoginHistoryItem
impl Debug for LoginHistoryItem
Source§impl<'de> Deserialize<'de> for LoginHistoryItem
impl<'de> Deserialize<'de> for LoginHistoryItem
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 LoginHistoryItem
impl RefUnwindSafe for LoginHistoryItem
impl Send for LoginHistoryItem
impl Sync for LoginHistoryItem
impl Unpin for LoginHistoryItem
impl UnwindSafe for LoginHistoryItem
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