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