Skip to main content

get_history

Function get_history 

Source
pub async fn get_history(
    conn: &mut PgConnection,
    user_id: Uuid,
    course_id: Uuid,
    entity_id: Option<Uuid>,
    limit: i64,
) -> ModelResult<Vec<CallHistoryEntry>>
Expand description

The user’s most recent calls in a course, newest first; only the calls that touched entity_id when it is given.