dtz_objectstore/models/
stats.rs

1/*
2 * DTZ Objectstore
3 *
4 * a generated client for the DTZ Objectstore API
5 *
6 * Contact: jens@apimeister.com
7 * Generated by: https://openapi-generator.tech
8 */
9
10#[allow(unused_imports)]
11use crate::models;
12#[allow(unused_imports)]
13use serde::{Deserialize, Serialize};
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct Stats {
17    #[serde(rename = "amountOfObjects", skip_serializing_if = "Option::is_none")]
18    pub amount_of_objects: Option<f64>,
19    #[serde(rename = "amountOfStorage", skip_serializing_if = "Option::is_none")]
20    pub amount_of_storage: Option<f64>,
21}
22
23impl Stats {
24    pub fn new() -> Stats {
25        Stats {
26            amount_of_objects: None,
27            amount_of_storage: None,
28        }
29    }
30}
31