/*
* Revolt API
*
* Open source user-first chat platform.
*
* The version of the OpenAPI document: 0.6.5
* Contact: contact@revolt.chat
* Generated by: https://openapi-generator.tech
*/
/// QueryExecStatsCollectionScans : Stats regarding collection scans
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct QueryExecStatsCollectionScans {
/// Number of total collection scans
#[serde(rename = "total")]
pub total: i64,
/// Number of total collection scans not using a tailable cursor
#[serde(rename = "nonTailable")]
pub non_tailable: i64,
}
impl QueryExecStatsCollectionScans {
/// Stats regarding collection scans
pub fn new(total: i64, non_tailable: i64) -> QueryExecStatsCollectionScans {
QueryExecStatsCollectionScans {
total,
non_tailable,
}
}
}