1
2
3
4
5
6
7
8
9
10
11
12
use revolt_result::Result;

use crate::Report;

mod mongodb;
mod reference;

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