1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ClaimRow {
/// At is when a stored row was recorded. Zero for a seed row.
#[serde(rename = "at", skip_serializing_if = "Option::is_none")]
pub at: Option<String>,
/// Benchmark is the canonical test id the claim is about, from /catalog.
#[serde(rename = "benchmark", skip_serializing_if = "Option::is_none")]
pub benchmark: Option<String>,
/// By is who recorded it, when the caller said.
#[serde(rename = "by", skip_serializing_if = "Option::is_none")]
pub by: Option<String>,
/// Model is the system the score is claimed for.
#[serde(rename = "model", skip_serializing_if = "Option::is_none")]
pub model: Option<String>,
/// Origin is \"seed\" for a compiled row and \"stored\" for one written through this surface. It is the difference between what we shipped and what an operator has since corrected.
#[serde(rename = "origin", skip_serializing_if = "Option::is_none")]
pub origin: Option<String>,
/// Protocol records HOW it was scored — provider-reported, agentic, third-party-leaderboard — so a provider card is never read as a measurement.
#[serde(rename = "protocol", skip_serializing_if = "Option::is_none")]
pub protocol: Option<String>,
/// Provider is who the claim belongs to — the lab or leaderboard whose number this is.
#[serde(rename = "provider", skip_serializing_if = "Option::is_none")]
pub provider: Option<String>,
/// Score is the reported aggregate, as a percentage.
#[serde(rename = "score", skip_serializing_if = "Option::is_none")]
pub score: Option<f64>,
/// Source is the citation the row was read from.
#[serde(rename = "source", skip_serializing_if = "Option::is_none")]
pub source: Option<String>,
}
impl ClaimRow {
pub fn new() -> ClaimRow {
ClaimRow {
at: None,
benchmark: None,
by: None,
model: None,
origin: None,
protocol: None,
provider: None,
score: None,
source: None,
}
}
}