pub struct AgentResumeCursor {
pub model_request_attempt: usize,
pub tool_call_batch_id: Option<String>,
pub output_validation_attempt: usize,
pub stream_cursor: Option<usize>,
pub message_cursor: usize,
}Expand description
Compact cursor values durable stores use to resume and audit a run.
Fields§
§model_request_attempt: usizeIndex of the next model request attempt.
tool_call_batch_id: Option<String>Current tool call batch identifier when the run is inside a tool boundary.
output_validation_attempt: usizeIndex of the next output validation attempt.
stream_cursor: Option<usize>Cursor of the last persisted stream event.
message_cursor: usizeLast canonical message index persisted by the runtime.
Trait Implementations§
Source§impl Clone for AgentResumeCursor
impl Clone for AgentResumeCursor
Source§fn clone(&self) -> AgentResumeCursor
fn clone(&self) -> AgentResumeCursor
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 AgentResumeCursor
impl Debug for AgentResumeCursor
Source§impl Default for AgentResumeCursor
impl Default for AgentResumeCursor
Source§fn default() -> AgentResumeCursor
fn default() -> AgentResumeCursor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentResumeCursor
impl<'de> Deserialize<'de> for AgentResumeCursor
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
impl Eq for AgentResumeCursor
Source§impl PartialEq for AgentResumeCursor
impl PartialEq for AgentResumeCursor
Source§fn eq(&self, other: &AgentResumeCursor) -> bool
fn eq(&self, other: &AgentResumeCursor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentResumeCursor
impl Serialize for AgentResumeCursor
impl StructuralPartialEq for AgentResumeCursor
Auto Trait Implementations§
impl Freeze for AgentResumeCursor
impl RefUnwindSafe for AgentResumeCursor
impl Send for AgentResumeCursor
impl Sync for AgentResumeCursor
impl Unpin for AgentResumeCursor
impl UnsafeUnpin for AgentResumeCursor
impl UnwindSafe for AgentResumeCursor
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