pub struct ReasoningSession {
pub id: Uuid,
pub goal: String,
pub state: SessionState,
pub steps: Vec<ReasoningStep>,
pub max_iterations: usize,
pub current_iteration: usize,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub start_time: DateTime<Utc>,
pub end_time: Option<DateTime<Utc>>,
}Expand description
Minimal reasoning session type for client visibility
Fields§
§id: UuidUnique identifier for this session
goal: StringThe original goal/query for this session
state: SessionStateCurrent state of the session
steps: Vec<ReasoningStep>All reasoning steps in chronological order
max_iterations: usizeMaximum number of reasoning iterations allowed
current_iteration: usizeCurrent iteration count
created_at: DateTime<Utc>Timestamp when session was created
updated_at: DateTime<Utc>Timestamp when session was last updated
start_time: DateTime<Utc>Start time of session
end_time: Option<DateTime<Utc>>Optional end time
Trait Implementations§
Source§impl Clone for ReasoningSession
impl Clone for ReasoningSession
Source§fn clone(&self) -> ReasoningSession
fn clone(&self) -> ReasoningSession
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 ReasoningSession
impl Debug for ReasoningSession
Source§impl<'de> Deserialize<'de> for ReasoningSession
impl<'de> Deserialize<'de> for ReasoningSession
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 ReasoningSession
impl RefUnwindSafe for ReasoningSession
impl Send for ReasoningSession
impl Sync for ReasoningSession
impl Unpin for ReasoningSession
impl UnsafeUnpin for ReasoningSession
impl UnwindSafe for ReasoningSession
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