pub struct Concept {Show 16 fields
pub id: String,
pub concept_type: String,
pub status: String,
pub superseded_by: Option<String>,
pub generated_at: Option<i64>,
pub generated_text: Option<String>,
pub stale_after_text: Option<String>,
pub stale_after: Option<i64>,
pub verified: Vec<VerifiedEvent>,
pub sources: Vec<SourceRef>,
pub citations: Vec<String>,
pub runtime: Option<String>,
pub parameters: Vec<Parameter>,
pub code_blocks: Vec<(String, String)>,
pub file_code: Option<String>,
pub claimed_result: Option<String>,
}Expand description
One concept and the trust fields the checks read.
Fields§
§id: StringBundle-relative path without the .md suffix, POSIX style.
concept_type: StringThe concept type, such as Metric or Attested Computation.
status: StringThe lifecycle status. Absent status means stable.
superseded_by: Option<String>The raw superseded_by value, when present.
generated_at: Option<i64>The parsed generated.at, when present and parseable.
generated_text: Option<String>The raw generated.at text, when present.
stale_after_text: Option<String>The raw stale_after text, when present.
stale_after: Option<i64>The parsed stale_after, when present and parseable.
verified: Vec<VerifiedEvent>Recorded verification events, in document order.
sources: Vec<SourceRef>The concept’s recorded sources.
citations: Vec<String>The footnote labels the concept body cites.
runtime: Option<String>The declared runtime, for Attested Computation concepts.
parameters: Vec<Parameter>The declared parameters, for Attested Computation concepts.
code_blocks: Vec<(String, String)>The fenced code blocks of the body, (language, code).
file_code: Option<String>The text of a computation file the body links to, when the computation lives in a file rather than inline.
claimed_result: Option<String>The attested result the body claims, when it states one.