pub struct Catalog {
pub schema: String,
pub schema_version: String,
pub catalog_version: String,
pub reserved_theme_ids: Vec<String>,
pub fallbacks: CatalogFallbacks,
pub font_metrics: Vec<FontMetrics>,
pub themes: Vec<Theme>,
}Expand description
The complete versioned theme catalog.
Fields§
§schema: StringJSON Schema location recorded by the source catalog.
schema_version: StringMajor/minor version of the catalog document shape.
catalog_version: StringVersion shared by the catalog and both distribution packages.
reserved_theme_ids: Vec<String>Theme identifiers that cannot be registered again.
fallbacks: CatalogFallbacksDeterministic recovery choices for unavailable themes and icons.
font_metrics: Vec<FontMetrics>Deterministic, versioned font measurement tables.
themes: Vec<Theme>Theme records in canonical catalog order.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Catalog
impl<'de> Deserialize<'de> for Catalog
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Catalog
impl StructuralPartialEq for Catalog
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