pub struct ThinkingProgress {
pub current_thought: u32,
pub total_thoughts: u32,
pub completed_thoughts: u32,
pub active_branches: usize,
pub needs_more_thoughts: bool,
pub progress_percentage: f64,
pub estimated_time_remaining: Option<Duration>,
}Expand description
Progress information for a thinking session
Fields§
§current_thought: u32Current thought number
total_thoughts: u32Total estimated thoughts
completed_thoughts: u32Number of completed thoughts
active_branches: usizeNumber of active branches
needs_more_thoughts: boolWhether more thoughts are needed
progress_percentage: f64Progress percentage (0.0 to 1.0)
estimated_time_remaining: Option<Duration>Estimated time remaining (if available)
Implementations§
Source§impl ThinkingProgress
impl ThinkingProgress
Sourcepub fn update(&mut self, thought: &ThoughtData)
pub fn update(&mut self, thought: &ThoughtData)
Update progress with new thought information
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Check if the thinking process is complete
Trait Implementations§
Source§impl Clone for ThinkingProgress
impl Clone for ThinkingProgress
Source§fn clone(&self) -> ThinkingProgress
fn clone(&self) -> ThinkingProgress
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 ThinkingProgress
impl Debug for ThinkingProgress
Source§impl<'de> Deserialize<'de> for ThinkingProgress
impl<'de> Deserialize<'de> for ThinkingProgress
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 ThinkingProgress
impl RefUnwindSafe for ThinkingProgress
impl Send for ThinkingProgress
impl Sync for ThinkingProgress
impl Unpin for ThinkingProgress
impl UnwindSafe for ThinkingProgress
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