Skip to navigation

Struct Execution Evidence

View as Markdown

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

pub struct ExecutionEvidence {
    pub software_environments: Vec<SoftwareEnvironment>,
    pub infrastructure: Option<InfrastructureSoftware>,
}

Selected software evidence included inline in a RunResult.

Fields

software_environments: Vec<SoftwareEnvironment>

One inventory per observed installation/resolution context.

infrastructure: Option<InfrastructureSoftware>

Existing provider/engine reports, omitted when none were supplied.

Implementations

impl ExecutionEvidence

impl ExecutionEvidence

valid

pub fn valid(&self) -> bool

Check coverage/value invariants and numeric report bounds.

receive

pub fn receive(value: Option<Value>, participant: &str) -> Self

Decode optional untrusted evidence without replacing the original outcome. Receivers call this even when older intermediaries omitted the report.

gap

pub fn gap(participant: &str, reason: &str) -> Self

Explicit incomplete evidence at an implemented receiving boundary.

impl ExecutionEvidence

impl ExecutionEvidence

append

pub fn append(&mut self, report: Self)

Join distinct source contexts, preserving observations and rebasing local refs.

Trait Implementations

impl Clone for ExecutionEvidence

impl Clone for ExecutionEvidence

clone

fn clone(&self) -> ExecutionEvidence

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for ExecutionEvidence

impl Debug for ExecutionEvidence

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for ExecutionEvidence

impl Default for ExecutionEvidence

default

fn default() -> ExecutionEvidence

impl<'de> Deserialize<'de> for ExecutionEvidence

impl<'de> Deserialize<'de> for ExecutionEvidence

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl Eq for ExecutionEvidence

impl Eq for ExecutionEvidence

impl JsonSchema for ExecutionEvidence

impl JsonSchema for ExecutionEvidence

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 ExecutionEvidence

impl PartialEq for ExecutionEvidence

eq

fn eq(&self, other: &ExecutionEvidence) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for ExecutionEvidence

impl Serialize for ExecutionEvidence

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl StructuralPartialEq for ExecutionEvidence

impl StructuralPartialEq for ExecutionEvidence