pub struct ContextFrame {
pub execution_id: ExecutionId,
pub turn: usize,
pub user_prompt: String,
pub visible_tools: Vec<String>,
pub pending_invalidations: ContextInvalidation,
pub resources: Vec<ContextResource>,
pub budget: Option<ContextBudgetFrame>,
pub latest_tool: Option<ContextToolFrame>,
pub transcript_summary: String,
}Fields§
§execution_id: ExecutionId§turn: usize§user_prompt: String§visible_tools: Vec<String>§pending_invalidations: ContextInvalidation§resources: Vec<ContextResource>§budget: Option<ContextBudgetFrame>§latest_tool: Option<ContextToolFrame>§transcript_summary: StringTrait Implementations§
Source§impl Clone for ContextFrame
impl Clone for ContextFrame
Source§fn clone(&self) -> ContextFrame
fn clone(&self) -> ContextFrame
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 ContextFrame
impl Debug for ContextFrame
impl Eq for ContextFrame
Source§impl PartialEq for ContextFrame
impl PartialEq for ContextFrame
impl StructuralPartialEq for ContextFrame
Auto Trait Implementations§
impl Freeze for ContextFrame
impl RefUnwindSafe for ContextFrame
impl Send for ContextFrame
impl Sync for ContextFrame
impl Unpin for ContextFrame
impl UnsafeUnpin for ContextFrame
impl UnwindSafe for ContextFrame
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