Files
stoatchat/crates/quark/src/traits/safety/report.rs
2023-02-21 12:38:35 +01:00

9 lines
216 B
Rust

use crate::models::Report;
use crate::Result;
#[async_trait]
pub trait AbstractReport: Sync + Send {
/// Insert a new report into the database
async fn insert_report(&self, report: &Report) -> Result<()>;
}