pub struct AgenticTurnTrace {Show 14 fields
pub request_id: String,
pub session_id: String,
pub input_length: usize,
pub max_output_tokens: usize,
pub output_token_ids: Option<Vec<u32>>,
pub replay_key: Option<String>,
pub hash_ids: Vec<u32>,
pub first_ready_timestamp_ms: Option<f64>,
pub delay_after_dependencies_ms: f64,
pub priority: i32,
pub strict_priority: u32,
pub policy_class: Option<String>,
pub wait_for: Vec<String>,
pub prefix_reset: bool,
}Fields§
§request_id: String§session_id: String§input_length: usize§max_output_tokens: usize§output_token_ids: Option<Vec<u32>>§replay_key: Option<String>§hash_ids: Vec<u32>§first_ready_timestamp_ms: Option<f64>§delay_after_dependencies_ms: f64§priority: i32§strict_priority: u32§policy_class: Option<String>§wait_for: Vec<String>§prefix_reset: boolImplementations§
Source§impl AgenticTurnTrace
impl AgenticTurnTrace
pub fn synthesize_tokens(&self, trace_block_size: usize) -> Result<Vec<u32>>
pub fn to_replay_hashes( &self, trace_block_size: usize, engine_block_size: usize, ) -> Result<ReplayRequestHashes>
Trait Implementations§
Source§impl Clone for AgenticTurnTrace
impl Clone for AgenticTurnTrace
Source§fn clone(&self) -> AgenticTurnTrace
fn clone(&self) -> AgenticTurnTrace
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 AgenticTurnTrace
impl Debug for AgenticTurnTrace
Source§impl Default for AgenticTurnTrace
impl Default for AgenticTurnTrace
Source§fn default() -> AgenticTurnTrace
fn default() -> AgenticTurnTrace
Returns the “default value” for a type. Read more
Source§impl PartialEq for AgenticTurnTrace
impl PartialEq for AgenticTurnTrace
impl StructuralPartialEq for AgenticTurnTrace
Auto Trait Implementations§
impl Freeze for AgenticTurnTrace
impl RefUnwindSafe for AgenticTurnTrace
impl Send for AgenticTurnTrace
impl Sync for AgenticTurnTrace
impl Unpin for AgenticTurnTrace
impl UnsafeUnpin for AgenticTurnTrace
impl UnwindSafe for AgenticTurnTrace
Blanket Implementations§
impl<T> BlockMetadata for T
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