pub struct AssembledContext {
pub chunks: Vec<ContextChunk>,
pub total_tokens: usize,
pub truncated: bool,
pub metadata: ContextMetadata,
}Expand description
The fully assembled, deterministic context window.
Fields§
§chunks: Vec<ContextChunk>§total_tokens: usize§truncated: bool§metadata: ContextMetadataTrait Implementations§
Source§impl Clone for AssembledContext
impl Clone for AssembledContext
Source§fn clone(&self) -> AssembledContext
fn clone(&self) -> AssembledContext
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 moreAuto Trait Implementations§
impl Freeze for AssembledContext
impl RefUnwindSafe for AssembledContext
impl Send for AssembledContext
impl Sync for AssembledContext
impl Unpin for AssembledContext
impl UnsafeUnpin for AssembledContext
impl UnwindSafe for AssembledContext
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