pub async fn load_for<T: PreferencesModel>(
db: &Db,
user_id: i64,
) -> Result<T, PreferencesError>Expand description
One operator’s stored model, or the default when they have none.
pub async fn load_for<T: PreferencesModel>(
db: &Db,
user_id: i64,
) -> Result<T, PreferencesError>One operator’s stored model, or the default when they have none.