pub struct RunCreate {
pub id: String,
pub name: String,
pub run_type: String,
pub inputs: Value,
pub outputs: Option<Value>,
pub error: Option<String>,
pub parent_run_id: Option<String>,
pub start_time: String,
pub end_time: Option<String>,
pub session_name: Option<String>,
pub tags: Vec<String>,
pub metadata: HashMap<String, Value>,
}Expand description
Simplified run structure for API requests
Fields§
§id: StringRun ID.
name: StringRun name.
run_type: StringRun type as a string.
inputs: ValueInputs for the run.
outputs: Option<Value>Outputs of the run.
error: Option<String>Error message, if the run failed.
parent_run_id: Option<String>ID of the parent run, if any.
start_time: StringStart time as an RFC 3339 timestamp.
end_time: Option<String>End time as an RFC 3339 timestamp, if the run finished.
session_name: Option<String>Session/project name.
Tags attached to the run.
metadata: HashMap<String, Value>Arbitrary metadata for the run.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunCreate
impl RefUnwindSafe for RunCreate
impl Send for RunCreate
impl Sync for RunCreate
impl Unpin for RunCreate
impl UnsafeUnpin for RunCreate
impl UnwindSafe for RunCreate
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