fastcomments_sdk/client/src/models/
aggregation_response_stats.rs

1/*
2 * fastcomments
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 0.0.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::client::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct AggregationResponseStats {
16    #[serde(rename = "timeMS")]
17    pub time_ms: i64,
18    #[serde(rename = "scanned")]
19    pub scanned: i64,
20}
21
22impl AggregationResponseStats {
23    pub fn new(time_ms: i64, scanned: i64) -> AggregationResponseStats {
24        AggregationResponseStats {
25            time_ms,
26            scanned,
27        }
28    }
29}
30