pub struct SessionProjection<'a> {
pub entries: Vec<ProjectedEntry<'a>>,
pub messages: Vec<Value>,
pub thinking_level: Option<Value>,
pub model: Option<Value>,
}Expand description
SessionProjection: provenance-preserving model context.
Fields§
§entries: Vec<ProjectedEntry<'a>>§messages: Vec<Value>§thinking_level: Option<Value>The latest thinking level on the path ("off" by default; None when an entry left it undefined).
model: Option<Value>{ provider, modelId } from the latest model change or assistant message.
Trait Implementations§
Source§impl<'a> Clone for SessionProjection<'a>
impl<'a> Clone for SessionProjection<'a>
Source§impl<'a> Debug for SessionProjection<'a>
impl<'a> Debug for SessionProjection<'a>
Source§impl From<SessionProjection<'_>> for SessionContext
impl From<SessionProjection<'_>> for SessionContext
Source§fn from(p: SessionProjection<'_>) -> Self
fn from(p: SessionProjection<'_>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for SessionProjection<'a>
impl<'a> PartialEq for SessionProjection<'a>
impl<'a> StructuralPartialEq for SessionProjection<'a>
Auto Trait Implementations§
impl<'a> Forget for SessionProjection<'a>
impl<'a> Freeze for SessionProjection<'a>
impl<'a> Move for SessionProjection<'a>
impl<'a> RefUnwindSafe for SessionProjection<'a>
impl<'a> Send for SessionProjection<'a>
impl<'a> Sync for SessionProjection<'a>
impl<'a> Unpin for SessionProjection<'a>
impl<'a> UnsafeUnpin for SessionProjection<'a>
impl<'a> UnwindSafe for SessionProjection<'a>
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