headless_lms_models::user_research_consents

Function get_research_consent_by_user_id

Source
pub async fn get_research_consent_by_user_id(
    conn: &mut PgConnection,
    user_id: Uuid,
) -> ModelResult<UserResearchConsent>