/*
* puddle.farm API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* 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 RatingsResponse {
/// Timestamp of the rating
#[serde(rename = "timestamp", skip_serializing_if = "Option::is_none")]
pub timestamp: Option<String>,
/// Player's rating at the time
#[serde(rename = "rating", skip_serializing_if = "Option::is_none")]
pub rating: Option<f32>,
}
impl RatingsResponse {
pub fn new() -> RatingsResponse {
RatingsResponse {
timestamp: None,
rating: None,
}
}
}