Skip to main content

dtz_billing/models/
get_stats_200_response_previous_day.rs

1/*
2 * DTZ Billing Api
3 *
4 * a generated client for the DTZ Billing 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 GetStats200ResponsePreviousDay {
17    #[serde(rename = "euro", skip_serializing_if = "Option::is_none")]
18    pub euro: Option<f64>,
19    #[serde(rename = "watt", skip_serializing_if = "Option::is_none")]
20    pub watt: Option<f64>,
21}
22
23impl GetStats200ResponsePreviousDay {
24    pub fn new() -> GetStats200ResponsePreviousDay {
25        GetStats200ResponsePreviousDay {
26            euro: None,
27            watt: None,
28        }
29    }
30}
31