1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use chrono::DateTime;
use chrono::Utc;
use crate::v2_0_1::datatypes::report_data_type::ReportDataType;
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq)]
#[serde(rename_all = "camelCase")]
pub struct NotifyReportRequest {
pub request_id: i64,
#[serde(skip_serializing_if = "Option::is_none")]
pub tbc: Option<bool>,
pub seq_no: i64,
pub generated_at: DateTime<Utc>,
#[serde(skip_serializing_if = "Option::is_none")]
pub report_data: Option<Vec<ReportDataType>>,
}
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq)]
#[serde(rename_all = "camelCase")]
pub struct NotifyReportResponse {}