pub struct ContextSnapshot {
pub chunks: Vec<ContextChunk>,
pub summary: Option<ContextSummary>,
pub assembled_at: DateTime<Utc>,
pub token_estimate: usize,
pub dropped_chunks: usize,
}Fields§
§chunks: Vec<ContextChunk>§summary: Option<ContextSummary>§assembled_at: DateTime<Utc>§token_estimate: usize§dropped_chunks: usizeImplementations§
Trait Implementations§
Source§impl Clone for ContextSnapshot
impl Clone for ContextSnapshot
Source§impl Debug for ContextSnapshot
impl Debug for ContextSnapshot
Source§impl<'de> Deserialize<'de> for ContextSnapshot
impl<'de> Deserialize<'de> for ContextSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for ContextSnapshot
impl Freeze for ContextSnapshot
impl Move for ContextSnapshot
impl RefUnwindSafe for ContextSnapshot
impl Send for ContextSnapshot
impl Sync for ContextSnapshot
impl Unpin for ContextSnapshot
impl UnsafeUnpin for ContextSnapshot
impl UnwindSafe for ContextSnapshot
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