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
/*
* 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 RunPoint {
/// At is when the run was recorded.
#[serde(rename = "at", skip_serializing_if = "Option::is_none")]
pub at: Option<String>,
/// Delta is the change in score from the previous run for this model, absent on the first. It is the number the whole surface exists to make visible.
#[serde(rename = "delta", skip_serializing_if = "Option::is_none")]
pub delta: Option<f64>,
/// N is how many items the run covered. Two runs are only comparable at the same n, which is why it travels with every point rather than being assumed.
#[serde(rename = "n", skip_serializing_if = "Option::is_none")]
pub n: Option<i32>,
/// Run is the measurement id these attempts were recorded under.
#[serde(rename = "run", skip_serializing_if = "Option::is_none")]
pub run: Option<String>,
/// Score is accuracy over the items this run covered, as a percentage.
#[serde(rename = "score", skip_serializing_if = "Option::is_none")]
pub score: Option<f64>,
}
impl RunPoint {
pub fn new() -> RunPoint {
RunPoint {
at: None,
delta: None,
n: None,
run: None,
score: None,
}
}
}