pub struct UserBehaviorProfile {
pub command_counts: HashMap<String, u64>,
pub favorite_authors: HashMap<String, u64>,
pub file_frequencies: HashMap<String, u64>,
pub preferred_namespace: Option<String>,
pub total_interactions: u64,
}Fields§
§command_counts: HashMap<String, u64>Command usage frequencies: “a” -> 42, “l” -> 118, etc.
Most frequent authors replied to
file_frequencies: HashMap<String, u64>Most frequently noted file paths
preferred_namespace: Option<String>Last active namespace (e.g., “comments”, “review”)
total_interactions: u64Total commands run
Implementations§
Source§impl UserBehaviorProfile
impl UserBehaviorProfile
Trait Implementations§
Source§impl Debug for UserBehaviorProfile
impl Debug for UserBehaviorProfile
Source§impl Default for UserBehaviorProfile
impl Default for UserBehaviorProfile
Source§impl<'de> Deserialize<'de> for UserBehaviorProfile
impl<'de> Deserialize<'de> for UserBehaviorProfile
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 UserBehaviorProfile
impl RefUnwindSafe for UserBehaviorProfile
impl Send for UserBehaviorProfile
impl Sync for UserBehaviorProfile
impl Unpin for UserBehaviorProfile
impl UnsafeUnpin for UserBehaviorProfile
impl UnwindSafe for UserBehaviorProfile
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