fn map_download_row(row: &Row<'_>) -> Result<DownloadInfo>
Helper function to map database row to DownloadInfo