pub struct Catalog {
pub entries: Vec<CatalogEntry>,
pub remaining: usize,
}Expand description
A bounded available-package listing.
Fields§
§entries: Vec<CatalogEntry>§remaining: usizeEntries dropped past CATALOG_LIMIT, reported as a count so the
response stays bounded as the registry grows.
Auto Trait Implementations§
impl Freeze for Catalog
impl RefUnwindSafe for Catalog
impl Send for Catalog
impl Sync for Catalog
impl Unpin for Catalog
impl UnsafeUnpin for Catalog
impl UnwindSafe for Catalog
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