mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-26 15:29:21 +00:00
12 lines
228 B
Rust
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 }
|
||
|
}
|
||
|
}
|