pub struct AgentContinuation {
pub thread_id: String,
pub provider_model: String,
pub cumulative_input_tokens: u64,
pub cumulative_output_tokens: u64,
pub cumulative_cached_input_tokens: u64,
pub cumulative_reasoning_output_tokens: u64,
}Expand description
Provider state required to continue one native Codex thread with delta accounting.
Fields§
§thread_id: StringStable native Codex thread identifier.
provider_model: StringExact provider model associated with the thread.
cumulative_input_tokens: u64Cumulative provider input tokens at the last completed turn.
cumulative_output_tokens: u64Cumulative provider output tokens at the last completed turn.
cumulative_cached_input_tokens: u64Cumulative provider cached input tokens at the last completed turn.
cumulative_reasoning_output_tokens: u64Cumulative provider reasoning output tokens at the last completed turn.
Trait Implementations§
Source§impl Clone for AgentContinuation
impl Clone for AgentContinuation
Source§fn clone(&self) -> AgentContinuation
fn clone(&self) -> AgentContinuation
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 AgentContinuation
impl Debug for AgentContinuation
Source§impl<'de> Deserialize<'de> for AgentContinuation
impl<'de> Deserialize<'de> for AgentContinuation
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 AgentContinuation
Source§impl PartialEq for AgentContinuation
impl PartialEq for AgentContinuation
Source§impl Serialize for AgentContinuation
impl Serialize for AgentContinuation
impl StructuralPartialEq for AgentContinuation
Auto Trait Implementations§
impl Freeze for AgentContinuation
impl RefUnwindSafe for AgentContinuation
impl Send for AgentContinuation
impl Sync for AgentContinuation
impl Unpin for AgentContinuation
impl UnsafeUnpin for AgentContinuation
impl UnwindSafe for AgentContinuation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.