pub struct AgentLoopTurnUpdate {
pub context: Option<AgentContext>,
pub model: Option<Model>,
pub thinking_level: Option<ThinkingLevel>,
}Expand description
Replacement runtime state returned by prepare_next_turn. None on any
field means “keep current”.
Fields§
§context: Option<AgentContext>§model: Option<Model>§thinking_level: Option<ThinkingLevel>Trait Implementations§
Source§impl Clone for AgentLoopTurnUpdate
impl Clone for AgentLoopTurnUpdate
Source§fn clone(&self) -> AgentLoopTurnUpdate
fn clone(&self) -> AgentLoopTurnUpdate
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 AgentLoopTurnUpdate
impl Debug for AgentLoopTurnUpdate
Source§impl Default for AgentLoopTurnUpdate
impl Default for AgentLoopTurnUpdate
Source§fn default() -> AgentLoopTurnUpdate
fn default() -> AgentLoopTurnUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for AgentLoopTurnUpdate
impl !UnwindSafe for AgentLoopTurnUpdate
impl Freeze for AgentLoopTurnUpdate
impl Send for AgentLoopTurnUpdate
impl Sync for AgentLoopTurnUpdate
impl Unpin for AgentLoopTurnUpdate
impl UnsafeUnpin for AgentLoopTurnUpdate
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