pub struct AgenticMooncakeRow {Show 17 fields
pub request_id: String,
pub session_id: Option<String>,
pub input_length: Option<usize>,
pub output_length: Option<usize>,
pub output_token_ids: Option<Vec<u32>>,
pub hash_ids: Option<Vec<u64>>,
pub timestamp: Option<f64>,
pub delay: Option<f64>,
pub priority: Option<i32>,
pub strict_priority: Option<u32>,
pub policy_class: Option<String>,
pub request_kind: Option<String>,
pub wait_for: Vec<String>,
pub branches: Vec<String>,
pub prefix_reset: Option<bool>,
pub tool_wait_ms: Option<f64>,
pub tool_events: Vec<AgenticToolEvent>,
}Expand description
One row of an agentic Mooncake replay trace.
This format keeps the request/cache fields from MooncakeRow and adds a
tiny workflow layer above them. request_id names the row. wait_for names
request ids whose simulated completions must arrive before this row becomes
eligible. Once all dependencies are satisfied, replay waits delay plus
tool_wait_ms before dispatching the request. Rows with no dependencies
use timestamp as their open-loop start time.
Fields§
§request_id: String§session_id: Option<String>§input_length: Option<usize>§output_length: Option<usize>§output_token_ids: Option<Vec<u32>>§hash_ids: Option<Vec<u64>>§timestamp: Option<f64>§delay: Option<f64>§priority: Option<i32>§strict_priority: Option<u32>§policy_class: Option<String>§request_kind: Option<String>§wait_for: Vec<String>§branches: Vec<String>§prefix_reset: Option<bool>§tool_wait_ms: Option<f64>§tool_events: Vec<AgenticToolEvent>Implementations§
Source§impl AgenticMooncakeRow
impl AgenticMooncakeRow
Sourcepub fn dependency_delay_ms(&self) -> f64
pub fn dependency_delay_ms(&self) -> f64
Return the total wait after all dependencies complete.
Trait Implementations§
Source§impl Clone for AgenticMooncakeRow
impl Clone for AgenticMooncakeRow
Source§fn clone(&self) -> AgenticMooncakeRow
fn clone(&self) -> AgenticMooncakeRow
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 AgenticMooncakeRow
impl Debug for AgenticMooncakeRow
Source§impl Default for AgenticMooncakeRow
impl Default for AgenticMooncakeRow
Source§fn default() -> AgenticMooncakeRow
fn default() -> AgenticMooncakeRow
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgenticMooncakeRow
impl<'de> Deserialize<'de> for AgenticMooncakeRow
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 AgenticMooncakeRow
impl RefUnwindSafe for AgenticMooncakeRow
impl Send for AgenticMooncakeRow
impl Sync for AgenticMooncakeRow
impl Unpin for AgenticMooncakeRow
impl UnsafeUnpin for AgenticMooncakeRow
impl UnwindSafe for AgenticMooncakeRow
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