pub struct UserActivity {
pub user_id: Uuid,
pub total_actions: usize,
pub successful: usize,
pub failed: usize,
pub blocked: usize,
pub unique_ips: usize,
pub action_breakdown: HashMap<String, usize>,
pub avg_risk_score: f64,
}Fields§
§user_id: Uuid§total_actions: usize§successful: usize§failed: usize§blocked: usize§unique_ips: usize§action_breakdown: HashMap<String, usize>§avg_risk_score: f64Trait Implementations§
Source§impl Clone for UserActivity
impl Clone for UserActivity
Source§fn clone(&self) -> UserActivity
fn clone(&self) -> UserActivity
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 UserActivity
impl Debug for UserActivity
Auto Trait Implementations§
impl Freeze for UserActivity
impl RefUnwindSafe for UserActivity
impl Send for UserActivity
impl Sync for UserActivity
impl Unpin for UserActivity
impl UnwindSafe for UserActivity
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