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

12 lines
228 B
Rust

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 }
}
}