use revolt_result::Result;
use crate::AccountInvite;
#[cfg(feature = "mongodb")]
mod mongodb;
mod reference;
#[async_trait]
pub trait AbstractAccountInvites: Sync + Send {
async fn fetch_account_invite(&self, id: &str) -> Result<AccountInvite>;
async fn save_account_invite(&self, invite: &AccountInvite) -> Result<()>;
}