1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-26 15:29:21 +00:00
comunicapiv3/src/api_data/submit_report_result_api.rs

12 lines
228 B
Rust
Raw Normal View History

2022-03-17 16:26:13 +00:00
use crate::data::report::ReportID;
#[derive(serde::Serialize)]
pub struct SubmitReportResultApi {
report_id: u64,
}
impl SubmitReportResultApi {
pub fn new(r: ReportID) -> Self {
Self { report_id: r.0 }
}
}