pub struct InstallCatalogEntry {
pub provider: InstallProviderId,
pub reference: String,
pub name: String,
pub blurb: String,
pub size_gb: f64,
pub category: InstallCategory,
}Expand description
One recommendable model: where it comes from, how big it is, and what it’s for.
Fields§
§provider: InstallProviderIdThe provider that installs it.
reference: StringThe reference to install (tag or repo).
name: StringThe name to show.
blurb: StringA one-line description.
size_gb: f64The approximate download/footprint size in gigabytes.
category: InstallCategoryThe task it’s meant for.
Implementations§
Trait Implementations§
Source§impl Clone for InstallCatalogEntry
impl Clone for InstallCatalogEntry
Source§fn clone(&self) -> InstallCatalogEntry
fn clone(&self) -> InstallCatalogEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InstallCatalogEntry
impl Debug for InstallCatalogEntry
Source§impl PartialEq for InstallCatalogEntry
impl PartialEq for InstallCatalogEntry
impl StructuralPartialEq for InstallCatalogEntry
Auto Trait Implementations§
impl Freeze for InstallCatalogEntry
impl RefUnwindSafe for InstallCatalogEntry
impl Send for InstallCatalogEntry
impl Sync for InstallCatalogEntry
impl Unpin for InstallCatalogEntry
impl UnsafeUnpin for InstallCatalogEntry
impl UnwindSafe for InstallCatalogEntry
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