pub trait UrlBuilder: Send + Sync {
// Required methods
fn download_url(&self, version: &str) -> Option<String>;
fn versions_url(&self) -> &str;
}
Expand description
Helper trait for URL builders that can generate download URLs
Required Methods§
Sourcefn download_url(&self, version: &str) -> Option<String>
fn download_url(&self, version: &str) -> Option<String>
Generate download URL for a specific version
Sourcefn versions_url(&self) -> &str
fn versions_url(&self) -> &str
Get the base URL for fetching version information