pub trait Whitelist {
// Required methods
fn is_enabled<'life0, 'life1, 'async_trait>(
&'life0 self,
authorization: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<bool, WhitelistError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn set_enabled<'life0, 'life1, 'async_trait>(
&'life0 self,
field0: bool,
authorization: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<(), WhitelistError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_whitelist<'life0, 'life1, 'async_trait>(
&'life0 self,
skip: i32,
limit: i32,
authorization: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Vec<WhitelistEmail>, WhitelistError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn count_whitelist<'life0, 'life1, 'async_trait>(
&'life0 self,
authorization: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<i64, WhitelistError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn add_to_whitelist<'life0, 'life1, 'async_trait>(
&'life0 self,
field0: Vec<String>,
authorization: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<(), WhitelistError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn remove_from_whitelist<'life0, 'life1, 'async_trait>(
&'life0 self,
field0: Vec<String>,
authorization: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<(), WhitelistError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}