pub struct RunRecord {Show 14 fields
pub run_id: String,
pub workflow: String,
pub fingerprint: String,
pub status: RunStatus,
pub created_ms: u64,
pub updated_ms: u64,
pub pause_reasons: Vec<PauseReason>,
pub outputs: IndexMap<String, Value>,
pub answer: String,
pub error: Option<String>,
pub error_type: Option<String>,
pub usage: Usage,
pub event_count: u64,
pub events_truncated: bool,
}Expand description
Persisted summary of one run.
Fields§
§run_id: String§workflow: StringName the workflow is served under.
fingerprint: StringFingerprint of the workflow graph (resume requires the same graph).
status: RunStatus§created_ms: u64§updated_ms: u64§pause_reasons: Vec<PauseReason>Why the run is paused (empty unless status == paused).
outputs: IndexMap<String, Value>§answer: StringOrdered answer text assembled from response nodes.
error: Option<String>§error_type: Option<String>§usage: Usage§event_count: u64Events stored so far (may stop growing at the store’s cap).
events_truncated: boolWhether events were dropped because the store’s per-run cap was reached.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunRecord
impl<'de> Deserialize<'de> for RunRecord
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 RunRecord
Auto Trait Implementations§
impl Forget for RunRecord
impl Freeze for RunRecord
impl Move for RunRecord
impl RefUnwindSafe for RunRecord
impl Send for RunRecord
impl Sync for RunRecord
impl Unpin for RunRecord
impl UnsafeUnpin for RunRecord
impl UnwindSafe for RunRecord
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