Skip to main content

resolve_option

Function resolve_option 

Source
pub fn resolve_option<'a>(
    model: &'a HubModel,
    option_id: Option<&str>,
) -> Option<&'a DownloadOption>
Expand description

Resolve a download variant: the named option_id, else the first option.