pub struct TaskSession {
pub id: String,
pub name: String,
pub state: String,
pub created_at: String,
pub updated_at: String,
pub completed_at: Option<String>,
pub prompt: String,
pub head_ref: String,
pub base_ref: String,
pub model: String,
pub usage: Option<SessionUsage>,
pub error: Option<SessionError>,
}Expand description
One agent run inside a task, from GET /agents/tasks/{task_id}.
Fields§
§id: String§name: String§state: String§created_at: String§updated_at: String§completed_at: Option<String>§prompt: String§head_ref: String§base_ref: String§model: String§usage: Option<SessionUsage>§error: Option<SessionError>Trait Implementations§
Source§impl Clone for TaskSession
impl Clone for TaskSession
Source§impl Debug for TaskSession
impl Debug for TaskSession
Source§impl<'de> Deserialize<'de> for TaskSession
impl<'de> Deserialize<'de> for TaskSession
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 TaskSession
impl PartialEq for TaskSession
Source§impl Serialize for TaskSession
impl Serialize for TaskSession
impl StructuralPartialEq for TaskSession
Auto Trait Implementations§
impl Forget for TaskSession
impl Freeze for TaskSession
impl Move for TaskSession
impl RefUnwindSafe for TaskSession
impl Send for TaskSessionwhere
RawVecInner: Send,
impl Sync for TaskSessionwhere
RawVecInner: Sync,
impl Unpin for TaskSession
impl UnsafeUnpin for TaskSession
impl UnwindSafe for TaskSessionwhere
RawVecInner: UnwindSafe,
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