pub trait SettingsRepository {
// Required method
fn get_by_team_id_and_user_id<'life0, 'async_trait>(
&'life0 self,
team_id: i64,
user_id: i64,
) -> Pin<Box<dyn Future<Output = Result<Vec<Setting>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Repository trait defining operations for settings data access.
Required Methods§
Implementors§
impl SettingsRepository for Database
Implementation of SettingsRepository for the main Database type.
impl SettingsRepository for MockSettingsRepository
Repository trait defining operations for settings data access.