Struct RunResult
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub struct RunResult {
pub agent_name: String,
pub harness: String,
pub adapter_kind: AdapterKind,
pub adapter_id: Option<String>,
pub runtime_id: String,
pub invocation_id: String,
pub request_id: String,
pub status: RunStatus,
pub output: Value,
pub error: Option<ErrorInfo>,
pub usage: Option<RunUsage>,
pub execution: Option<ExecutionEvidence>,
pub resource_snapshot: Option<RuntimeResourceSnapshot>,
pub system_stats: Option<InvocationSystemStats>,
pub artifacts: ArtifactManifest,
pub telemetry: Vec<TelemetryRef>,
pub events: Vec<FabricEvent>,
pub metadata: BTreeMap<String, Value>,
}
Result from a NeMo Fabric-managed harness invocation.
Fields
agent_name: String
Stable agent name.
harness: String
Stable machine-readable harness identifier used for this run.
adapter_kind: AdapterKind
Adapter used for this run.
adapter_id: Option<String>
Adapter implementation id when an adapter descriptor was resolved.
runtime_id: String
Runtime handle id.
invocation_id: String
Invocation handle id.
request_id: String
Request id.
status: RunStatus
Runtime status.
output: Value
Primary output.
error: Option<ErrorInfo>
Error metadata when applicable.
usage: Option<RunUsage>
Normalized invocation usage when reported by the adapter target.
execution: Option<ExecutionEvidence>
Selected software evidence. Absent in older results and when collection is disabled.
resource_snapshot: Option<RuntimeResourceSnapshot>
Resource snapshot of the runtime, read once after the adapter returned this result. Absent when the runtime’s resources could not be observed.
system_stats: Option<InvocationSystemStats>
Invocation duration and endpoint observations from the executing runner. Absent in older results and when an execution backend does not collect them.
artifacts: ArtifactManifest
Artifacts produced or collected by this run.
telemetry: Vec<TelemetryRef>
Ordered telemetry references when available.
events: Vec<FabricEvent>
NeMo Fabric lifecycle/progress events emitted during the run.
metadata: BTreeMap<String, Value>
Adapter-specific metadata.
Trait Implementations
impl Clone for RunResult
impl Clone for RunResult
clone
fn clone(&self) -> RunResult
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for RunResult
impl Debug for RunResult
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for RunResult
impl<'de> Deserialize<'de> for RunResult
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for RunResult
impl JsonSchema for RunResult
schema_name
fn schema_name() -> Cow<'static, str>
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
inline_schema
fn inline_schema() -> bool
impl PartialEq for RunResult
impl PartialEq for RunResult
eq
fn eq(&self, other: &RunResult) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for RunResult
impl Serialize for RunResult
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for RunResult
impl StructuralPartialEq for RunResult