pub struct TopicFrequency {
pub topic: String,
pub interactions: usize,
pub task_events: usize,
pub requirement_events: usize,
}Expand description
How often the user has interacted with one topic, recalculated from the current memory links. Topics are the unit dreaming learns about.
Fields§
§topic: String§interactions: usizeTotal events attributed to the topic.
task_events: usizeEvents that look like concrete tasks / test runs on the topic.
requirement_events: usizeEvents that state a durable user requirement on the topic.
Trait Implementations§
Source§impl Clone for TopicFrequency
impl Clone for TopicFrequency
Source§fn clone(&self) -> TopicFrequency
fn clone(&self) -> TopicFrequency
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TopicFrequency
impl Debug for TopicFrequency
impl Eq for TopicFrequency
Source§impl PartialEq for TopicFrequency
impl PartialEq for TopicFrequency
impl StructuralPartialEq for TopicFrequency
Auto Trait Implementations§
impl Freeze for TopicFrequency
impl RefUnwindSafe for TopicFrequency
impl Send for TopicFrequency
impl Sync for TopicFrequency
impl Unpin for TopicFrequency
impl UnsafeUnpin for TopicFrequency
impl UnwindSafe for TopicFrequency
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.