pub struct UserStats {
pub user_id: PublicUserId,
pub user_name: Option<String>,
pub overall_stats: OverallStats,
pub category_count: HashMap<ActionableSegmentKind, u32>,
pub action_type_count: HashMap<Action, u32>,
}Expand description
The results of a user info request.
Fields§
§user_id: PublicUserIdThe user’s public user ID.
user_name: Option<String>The user’s username.
overall_stats: OverallStatsThe overall stats for the user.
category_count: HashMap<ActionableSegmentKind, u32>The categories with associated segment counts.
action_type_count: HashMap<Action, u32>The action types with associated segment counts.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserStats
impl<'de> Deserialize<'de> for UserStats
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 UserStats
impl RefUnwindSafe for UserStats
impl Send for UserStats
impl Sync for UserStats
impl Unpin for UserStats
impl UnwindSafe for UserStats
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