hanzo-client 8.5.156

Generated client for the Hanzo API — every service, one crate.
Documentation
/*
 * 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,
        }
    }
}