pub struct ContextCompactionStarted {
pub thread_id: ThreadId,
pub turn_id: TurnId,
pub original_item_count: u64,
pub original_estimated_tokens: u32,
pub timestamp: OffsetDateTime,
}Fields§
§thread_id: ThreadId§turn_id: TurnId§original_item_count: u64§original_estimated_tokens: u32§timestamp: OffsetDateTimeTrait Implementations§
Source§impl Clone for ContextCompactionStarted
impl Clone for ContextCompactionStarted
Source§fn clone(&self) -> ContextCompactionStarted
fn clone(&self) -> ContextCompactionStarted
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 ContextCompactionStarted
impl Debug for ContextCompactionStarted
Source§impl<'de> Deserialize<'de> for ContextCompactionStarted
impl<'de> Deserialize<'de> for ContextCompactionStarted
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 Freeze for ContextCompactionStarted
impl RefUnwindSafe for ContextCompactionStarted
impl Send for ContextCompactionStarted
impl Sync for ContextCompactionStarted
impl Unpin for ContextCompactionStarted
impl UnsafeUnpin for ContextCompactionStarted
impl UnwindSafe for ContextCompactionStarted
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