pub struct AgentTask {Show 13 fields
pub id: ExecutionId,
pub object: String,
pub runtime_id: RuntimeInstanceId,
pub conversation_id: Option<ConversationId>,
pub workspace: Option<AgentTaskWorkspace>,
pub model: Option<String>,
pub metadata: BTreeMap<String, String>,
pub status: AgentTaskStatus,
pub output: Option<AgentTaskOutput>,
pub error: Option<ApiErrorBody>,
pub created_at_ms: i64,
pub updated_at_ms: i64,
pub links: AgentTaskLinks,
}Fields§
§id: ExecutionId§object: String§runtime_id: RuntimeInstanceId§conversation_id: Option<ConversationId>§workspace: Option<AgentTaskWorkspace>§model: Option<String>§metadata: BTreeMap<String, String>§status: AgentTaskStatus§output: Option<AgentTaskOutput>§error: Option<ApiErrorBody>§created_at_ms: i64§updated_at_ms: i64§links: AgentTaskLinksTrait Implementations§
Source§impl<'de> Deserialize<'de> for AgentTask
impl<'de> Deserialize<'de> for AgentTask
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 From<ExecutionView> for AgentTask
impl From<ExecutionView> for AgentTask
Source§fn from(view: ExecutionView) -> Self
fn from(view: ExecutionView) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for AgentTask
Auto Trait Implementations§
impl Freeze for AgentTask
impl RefUnwindSafe for AgentTask
impl Send for AgentTask
impl Sync for AgentTask
impl Unpin for AgentTask
impl UnsafeUnpin for AgentTask
impl UnwindSafe for AgentTask
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