pub struct Eval {Show 16 fields
pub schema: String,
pub title: String,
pub producer: Producer,
pub eval_kind: EvalKind,
pub origin: Origin,
pub model: Option<Model>,
pub task: Option<Task>,
pub harness: Option<Harness>,
pub generation: Option<Generation>,
pub trial: Option<Trial>,
pub env: Option<Env>,
pub runs: Vec<Run>,
pub relations: Vec<Relation>,
pub attachments: Vec<Attachment>,
pub redaction: Option<Redaction>,
pub ext: Ext,
}Expand description
An Eval: the material a Card was measured from.
Fields§
§schema: StringSchema identifier; must be evalhub.eval/1.0.
title: StringHuman-readable title.
producer: ProducerThe software that wrote this record.
eval_kind: EvalKindWhat the material is.
origin: OriginHow the material came to exist.
model: Option<Model>The model facet.
task: Option<Task>The task facet.
harness: Option<Harness>The harness facet.
generation: Option<Generation>The generation facet.
trial: Option<Trial>The trial facet.
env: Option<Env>The environment facet.
runs: Vec<Run>The runs. Required when eval_kind is run_set.
relations: Vec<Relation>Edges to other Evals (core/derived_from, core/subset_of).
attachments: Vec<Attachment>Files this record refers to.
redaction: Option<Redaction>What the producer removed before publishing.
ext: ExtProducer-private extensions keyed by namespace.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Eval
impl<'de> Deserialize<'de> for Eval
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
Source§impl JsonSchema for Eval
impl JsonSchema for Eval
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Eval
Auto Trait Implementations§
impl Freeze for Eval
impl RefUnwindSafe for Eval
impl Send for Eval
impl Sync for Eval
impl Unpin for Eval
impl UnsafeUnpin for Eval
impl UnwindSafe for Eval
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