tba-openapi-rust 3.8.2

# Overview Information and statistics about FIRST Robotics Competition teams and events. # Authentication All endpoints require an Auth Key to be passed in the header `X-TBA-Auth-Key`. If you do not have an auth key yet, you can obtain one from your [Account Page](/account).
Documentation
/*
 * The Blue Alliance API v3
 *
 * # Overview    Information and statistics about FIRST Robotics Competition teams and events.   # Authentication   All endpoints require an Auth Key to be passed in the header `X-TBA-Auth-Key`. If you do not have an auth key yet, you can obtain one from your [Account Page](/account).
 *
 * The version of the OpenAPI document: 3.8.2
 * 
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct EventRankingExtraStatsInfoInner {
    /// Integer expressing the number of digits of precision in the number provided in `sort_orders`.
    #[serde(rename = "precision")]
    pub precision: f32,
    /// Name of the field used in the `extra_stats` array.
    #[serde(rename = "name")]
    pub name: String,
}

impl EventRankingExtraStatsInfoInner {
    pub fn new(precision: f32, name: String) -> EventRankingExtraStatsInfoInner {
        EventRankingExtraStatsInfoInner {
            precision,
            name,
        }
    }
}