pub struct StarterKit {Show 14 fields
pub category: Option<String>,
pub demo: Option<String>,
pub description: Option<String>,
pub features: Option<Vec<String>>,
pub framework: Option<String>,
pub org: Option<String>,
pub preview: Option<String>,
pub rating: Option<f64>,
pub slug: Option<String>,
pub source: Option<String>,
pub tier: Option<i32>,
pub title: Option<String>,
pub use_case: Option<String>,
pub variants: Option<Vec<Variant>>,
}Fields§
§category: Option<String>groups the kit in the gallery browser ("Portfolio", "SaaS")
demo: Option<String>live demo (
description: Option<String>the browse-card blurb
features: Option<Vec<String>>the highlights the card lists, at most 32
framework: Option<String>the stack the kit is built on ("Next.js 14.2 + TS")
org: Option<String>owner of a PRIVATE template; empty in the public catalog
preview: Option<String>the still image the browse card renders
rating: Option<f64>Rating is public-gallery curation, on the same terms as Tier: catalog-only, never accepted from a request, absent on a customer’s own kit.
slug: Option<String>the kit’s identity — lowercase alphanumeric with dashes, max 40
source: Option<String>the repository the kit is forked from
tier: Option<i32>Tier is public-gallery curation, carried verbatim from the embedded catalog. No request can set it — neither write body has the field and neither builds a kit carrying one — so it is absent on every customer-published kit.
title: Option<String>display name
use_case: Option<String>what the kit is for, in a phrase
variants: Option<Vec<Variant>>the shapes this template ships in
Implementations§
Source§impl StarterKit
impl StarterKit
pub fn new() -> StarterKit
Trait Implementations§
Source§impl Clone for StarterKit
impl Clone for StarterKit
Source§fn clone(&self) -> StarterKit
fn clone(&self) -> StarterKit
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more