pub struct ProcessTurnInput {
pub user_message: String,
pub assistant_response: Option<String>,
pub turn_id: u64,
pub project_context: Option<String>,
pub agent_id: Option<Uuid>,
pub user_id: Option<Uuid>,
pub session_id: Option<String>,
}Expand description
Input for a single conversation turn.
Fields§
§user_message: StringThe user’s message text.
assistant_response: Option<String>The assistant’s response (if available).
turn_id: u64Monotonically increasing turn number.
project_context: Option<String>Optional project/workspace scope for memory tagging.
agent_id: Option<Uuid>Agent UUID (defaults to nil if not provided).
user_id: Option<Uuid>End-user UUID, orthogonal to agent_id (defaults to nil if not
provided). The stored turn is tagged with both owners, and internal
recalls are scoped to this user AND the agent so another user’s private
memories can never surface or be linked.
session_id: Option<String>Originating session, tagged onto stored turns so injection recall can exclude memories already present in that session’s context.
Trait Implementations§
Source§impl Clone for ProcessTurnInput
impl Clone for ProcessTurnInput
Source§fn clone(&self) -> ProcessTurnInput
fn clone(&self) -> ProcessTurnInput
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 ProcessTurnInput
impl RefUnwindSafe for ProcessTurnInput
impl Send for ProcessTurnInput
impl Sync for ProcessTurnInput
impl Unpin for ProcessTurnInput
impl UnsafeUnpin for ProcessTurnInput
impl UnwindSafe for ProcessTurnInput
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