pub type DownloadConfigNoReporting<'download> = DownloadConfig<'download, NullDownloadReporter>;Expand description
A convenience type for a download config with no reporter.
Aliased Type§
pub struct DownloadConfigNoReporting<'download> {
pub output_path: &'download Path,
pub reporter: Option<&'download NullDownloadReporter>,
pub max_simultaneous_downloads: usize,
pub access_token: Option<Cow<'download, str>>,
}Fields§
§output_path: &'download PathThe directory that the tree will be downloaded into.
reporter: Option<&'download NullDownloadReporter>If provided, the reporter will receive events on the status of each download.
max_simultaneous_downloads: usizeThe maximum number of simultaneous downloads allowed at once. The default is 5.
access_token: Option<Cow<'download, str>>Your GitHub personal access token, if you have one.