pub struct RunStepObject {Show 17 fields
pub id: String,
pub object: String,
pub created_at: i64,
pub assistant_id: String,
pub thread_id: String,
pub run_id: String,
pub run_step_type: String,
pub status: String,
pub step_details: HashMap<String, String>,
pub last_error: Option<String>,
pub expires_at: Option<i64>,
pub started_at: Option<i64>,
pub cancelled_at: Option<i64>,
pub failed_at: Option<i64>,
pub completed_at: Option<i64>,
pub metadata: HashMap<String, String>,
pub headers: Option<HashMap<String, String>>,
}
Expand description
Represents a step within a run.
Fields§
§id: String
Unique identifier for the run step.
object: String
Object type, typically “run_step”.
created_at: i64
Timestamp of when the run step was created.
assistant_id: String
Identifier for the assistant.
thread_id: String
Identifier for the associated thread.
run_id: String
Identifier for the run.
run_step_type: String
Type of the run step.
status: String
Status of the run step.
step_details: HashMap<String, String>
Details about the run step.
last_error: Option<String>
Optional last error encountered during the run step.
expires_at: Option<i64>
Optional expiration timestamp of the run step.
started_at: Option<i64>
Optional start timestamp of the run step.
cancelled_at: Option<i64>
Optional cancellation timestamp of the run step.
failed_at: Option<i64>
Optional failure timestamp of the run step.
completed_at: Option<i64>
Optional completion timestamp of the run step.
metadata: HashMap<String, String>
Metadata for the run step.
headers: Option<HashMap<String, String>>
Optional headers from the response.
Trait Implementations§
Source§impl Clone for RunStepObject
impl Clone for RunStepObject
Source§fn clone(&self) -> RunStepObject
fn clone(&self) -> RunStepObject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RunStepObject
impl Debug for RunStepObject
Source§impl<'de> Deserialize<'de> for RunStepObject
impl<'de> Deserialize<'de> for RunStepObject
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
Auto Trait Implementations§
impl Freeze for RunStepObject
impl RefUnwindSafe for RunStepObject
impl Send for RunStepObject
impl Sync for RunStepObject
impl Unpin for RunStepObject
impl UnwindSafe for RunStepObject
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