pub struct ContextFrame {
pub blocks: Vec<ContextBlock>,
}Expand description
The ordered material selected for one model request.
This owned value is independent of the context that produced it. Invocation identity belongs to the model request rather than this material selection.
Fields§
§blocks: Vec<ContextBlock>Blocks presented to the model, in request order.
Trait Implementations§
Source§impl Clone for ContextFrame
impl Clone for ContextFrame
Auto Trait Implementations§
impl Forget for ContextFrame
impl Freeze for ContextFrame
impl Move 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