pub struct CatalogueSource {
pub listing: String,
pub entry_base: String,
pub release: String,
pub doc_base: String,
pub repo_base: String,
}Expand description
Where the feed is enumerated, fetched and versioned.
Fields§
§listing: StringThe endpoint listing the catalogue directory’s files.
entry_base: StringURL prefix an entry’s own file name is appended to.
release: StringThe project’s latest release, whose tag labels the feed.
doc_base: StringURL prefix a variant’s per-model doc is appended to, which is where the download links for its files live.
repo_base: StringWhere the feed’s published model repos live, for the README that
carries a variant’s own download table when the docs tree has no
per-variant page: <repo_base><published_repo>/raw/main/README.md.
Trait Implementations§
Source§impl Clone for CatalogueSource
impl Clone for CatalogueSource
Source§impl Debug for CatalogueSource
impl Debug for CatalogueSource
Auto Trait Implementations§
impl Freeze for CatalogueSource
impl RefUnwindSafe for CatalogueSource
impl Send for CatalogueSource
impl Sync for CatalogueSource
impl Unpin for CatalogueSource
impl UnsafeUnpin for CatalogueSource
impl UnwindSafe for CatalogueSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more