pub struct ContextCompactionSkipped {
pub thread_id: ThreadId,
pub turn_id: TurnId,
pub reason: String,
pub estimated_tokens: u32,
pub threshold: Option<u32>,
pub pruned_tool_count: Option<u32>,
pub timestamp: OffsetDateTime,
}Fields§
§thread_id: ThreadId§turn_id: TurnId§reason: String§estimated_tokens: u32§threshold: Option<u32>§pruned_tool_count: Option<u32>§timestamp: OffsetDateTimeTrait Implementations§
Source§impl Clone for ContextCompactionSkipped
impl Clone for ContextCompactionSkipped
Source§fn clone(&self) -> ContextCompactionSkipped
fn clone(&self) -> ContextCompactionSkipped
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 ContextCompactionSkipped
impl Debug for ContextCompactionSkipped
Source§impl<'de> Deserialize<'de> for ContextCompactionSkipped
impl<'de> Deserialize<'de> for ContextCompactionSkipped
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 ContextCompactionSkipped
impl RefUnwindSafe for ContextCompactionSkipped
impl Send for ContextCompactionSkipped
impl Sync for ContextCompactionSkipped
impl Unpin for ContextCompactionSkipped
impl UnsafeUnpin for ContextCompactionSkipped
impl UnwindSafe for ContextCompactionSkipped
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