pub struct Turn {
pub completed_at: Option<i64>,
pub duration_ms: Option<i64>,
pub error: Option<TurnError>,
pub id: String,
pub items: Vec<ThreadItem>,
pub items_view: Option<Value>,
pub root_turn_id: Option<String>,
pub started_at: Option<i64>,
pub status: TurnStatus,
}Fields§
§completed_at: Option<i64>§duration_ms: Option<i64>§error: Option<TurnError>§id: String§items: Vec<ThreadItem>§items_view: Option<Value>§root_turn_id: Option<String>ID of the first turn in the chain of work that led to this turn. Pass
this as rootTurnId when starting work on behalf of this turn. May be
null in older history or a review/start response.
started_at: Option<i64>§status: TurnStatusTrait Implementations§
Source§impl<'de> Deserialize<'de> for Turn
impl<'de> Deserialize<'de> for Turn
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 StructuralPartialEq for Turn
Auto Trait Implementations§
impl Freeze for Turn
impl RefUnwindSafe for Turn
impl Send for Turn
impl Sync for Turn
impl Unpin for Turn
impl UnsafeUnpin for Turn
impl UnwindSafe for Turn
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