Skip to main content

StoreModel

Trait StoreModel 

Source
pub trait StoreModel:
    Serialize
    + DeserializeOwned
    + JsonSchema {
    const SCHEMA_NAME: &'static str;
}
Expand description

A store file type.

Required Associated Constants§

Source

const SCHEMA_NAME: &'static str

File stem of the generated JSON Schema: docs/schema/<NAME>.schema.json.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl StoreModel for AppliedRecord

Source§

const SCHEMA_NAME: &'static str = "applied"

Source§

impl StoreModel for CatalogsFile

Source§

const SCHEMA_NAME: &'static str = "catalogs"

Source§

impl StoreModel for ClientPrefsFile

Source§

const SCHEMA_NAME: &'static str = "clients"

Source§

impl StoreModel for MachineOverlay

Source§

const SCHEMA_NAME: &'static str = "machine"

Source§

impl StoreModel for ProjectManifest

Source§

const SCHEMA_NAME: &'static str = "project"

Source§

impl StoreModel for SecretCatalog

Source§

const SCHEMA_NAME: &'static str = "secrets"

Source§

impl StoreModel for Server

Source§

const SCHEMA_NAME: &'static str = "server"

Source§

impl StoreModel for Settings

Source§

const SCHEMA_NAME: &'static str = "settings"

Source§

impl StoreModel for SkillMeta

Source§

const SCHEMA_NAME: &'static str = "skill-meta"

Source§

impl StoreModel for SourcesFile

Source§

const SCHEMA_NAME: &'static str = "sources"

Source§

impl StoreModel for StoreIdentity

Source§

const SCHEMA_NAME: &'static str = "store-identity"