Struct RunResult

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

pub struct RunResult {Show 14 fields
    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 artifacts: ArtifactManifest,
    pub telemetry: Option<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.

artifacts: ArtifactManifest

Artifacts produced or collected by this run.

telemetry: Option<TelemetryRef>

Telemetry reference 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