pub struct SessionStartContext {
pub pins: Vec<ResolvedPin>,
pub recent: Vec<Observation>,
}Expand description
Structured data backing the SessionStart injection.
Built by KindlingService::session_start_context.
The server formats pins under a ## Pinned Items heading and recent
under ## Recent Activity, then prepends the Prior-Context header.
Fields§
§pins: Vec<ResolvedPin>Active pins for the scope, newest first, each resolved to target content.
recent: Vec<Observation>Recent non-redacted observations, newest first, capped at max_results.
Implementations§
Trait Implementations§
Source§impl Clone for SessionStartContext
impl Clone for SessionStartContext
Source§fn clone(&self) -> SessionStartContext
fn clone(&self) -> SessionStartContext
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 SessionStartContext
impl Debug for SessionStartContext
Source§impl PartialEq for SessionStartContext
impl PartialEq for SessionStartContext
Source§fn eq(&self, other: &SessionStartContext) -> bool
fn eq(&self, other: &SessionStartContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionStartContext
Auto Trait Implementations§
impl Freeze for SessionStartContext
impl RefUnwindSafe for SessionStartContext
impl Send for SessionStartContext
impl Sync for SessionStartContext
impl Unpin for SessionStartContext
impl UnsafeUnpin for SessionStartContext
impl UnwindSafe for SessionStartContext
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