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