pub struct Run {
pub run_id: Uuid,
pub thread_id: Uuid,
pub assistant_id: Uuid,
pub created_at: String,
pub updated_at: String,
pub status: Status,
pub metadata: Value,
pub kwargs: Value,
pub multitask_strategy: MultitaskStrategy,
}Fields§
§run_id: UuidThe ID of the run.
thread_id: UuidThe ID of the thread.
assistant_id: UuidThe assistant that was used for this run.
created_at: StringThe time the run was created.
updated_at: StringThe last time the run was updated.
status: StatusThe status of the run. One of ‘pending’, ‘running’, ‘error’, ‘success’, ‘timeout’, ‘interrupted’.
metadata: ValueThe run metadata.
kwargs: Value§multitask_strategy: MultitaskStrategyStrategy to handle concurrent runs on the same thread.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Run
impl<'de> Deserialize<'de> for Run
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 Run
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnwindSafe for Run
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