pub struct ThreadItemEntry {
pub completed_at_ms: Option<i64>,
pub item: ThreadItem,
pub output_deferred: bool,
pub started_at_ms: Option<i64>,
pub turn_id: String,
}Expand description
One item plus the turn that contains it, as returned by
thread/items/list (0.148 upstream).
Fields§
§completed_at_ms: Option<i64>Unix timestamp (milliseconds) when the item completed, if recorded by the producer.
item: ThreadItem§output_deferred: boolEXPERIMENTAL upstream — the saved command output was omitted because
the request set ThreadItemOutputDeferral::command_execution; fetch
the complete item with thread/items/read (openai/codex#59601).
Requires experimentalApi; absent (false) otherwise.
started_at_ms: Option<i64>Unix timestamp (milliseconds) when the item started, if recorded by the producer.
turn_id: StringTrait Implementations§
Source§impl Clone for ThreadItemEntry
impl Clone for ThreadItemEntry
Source§impl Debug for ThreadItemEntry
impl Debug for ThreadItemEntry
Source§impl<'de> Deserialize<'de> for ThreadItemEntry
impl<'de> Deserialize<'de> for ThreadItemEntry
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
Source§impl PartialEq for ThreadItemEntry
impl PartialEq for ThreadItemEntry
Source§impl Serialize for ThreadItemEntry
impl Serialize for ThreadItemEntry
impl StructuralPartialEq for ThreadItemEntry
Auto Trait Implementations§
impl Freeze for ThreadItemEntry
impl RefUnwindSafe for ThreadItemEntry
impl Send for ThreadItemEntry
impl Sync for ThreadItemEntry
impl Unpin for ThreadItemEntry
impl UnsafeUnpin for ThreadItemEntry
impl UnwindSafe for ThreadItemEntry
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