pub async fn require_student(
__arg0: State<AppState>,
__arg1: Path<HashMap<String, String>>,
req: Request<Body>,
next: Next,
) -> Result<Response, (StatusCode, Json<ApiResponse<Empty>>)>
Expand description
Guard for requiring student access.