pub struct ConversationFocus {
pub current_topic: Option<String>,
pub current_question: Option<String>,
pub recent_context: Vec<String>,
pub topic_transitions: Vec<TopicTransition>,
pub detected_at: usize,
}Expand description
Represents the current focus of the conversation.
Fields§
§current_topic: Option<String>Current topic being discussed
current_question: Option<String>Current question or task
recent_context: Vec<String>Recent context snippets (last N messages key points)
topic_transitions: Vec<TopicTransition>Topic transitions (when topic changed)
detected_at: usizeTimestamp of focus detection
Trait Implementations§
Source§impl Clone for ConversationFocus
impl Clone for ConversationFocus
Source§fn clone(&self) -> ConversationFocus
fn clone(&self) -> ConversationFocus
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 moreAuto Trait Implementations§
impl Freeze for ConversationFocus
impl RefUnwindSafe for ConversationFocus
impl Send for ConversationFocus
impl Sync for ConversationFocus
impl Unpin for ConversationFocus
impl UnsafeUnpin for ConversationFocus
impl UnwindSafe for ConversationFocus
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