bookclerk_library::entities::plugin_schemas

Development These docs follow the development version and change with every merge.

Last updated View as Markdown

SeaORM entity for the plugin_schemas table.

Item Kind Summary
Model struct Row shape for this table (DeriveEntityModel).
ColumnIter struct An iterator over the variants of [Column]
Entity struct Generated by sea-orm-macros
PrimaryKeyIter struct An iterator over the variants of [PrimaryKey]
ActiveModel struct Generated by sea-orm-macros
RelationIter struct An iterator over the variants of [Relation]
Column enum Generated by sea-orm-macros
PrimaryKey enum Generated by sea-orm-macros
Relation enum Declared SeaORM relations (none unless FK edges are modeled).

Structs

Model

pub struct Model {
    pub plugin_key: String,
    pub manifest_id: String,
    pub schema_sha256: String,
    pub package_version: String,
    pub schema_version: i64,
    pub settings_json: String,
    pub recorded_at: String,
    pub recorded_by_node: String,
}

Row shape for this table (DeriveEntityModel).

Fields

  • plugin_key: Canonical plugin key the schema belongs to.
  • manifest_id: Manifest id (display alias) at pin time.
  • schema_sha256: SHA-256 of the normalized settings schema (not of the manifest bytes).
  • package_version: Semver package version that produced the pinned schema.
  • schema_version: SettingsSchema revision stored in settings_json.
  • settings_json: JSON SettingsSchema body.
  • recorded_at: RFC 3339 timestamp of the last pin.
  • recorded_by_node: Host that recorded the last pin.

Model::into_ex

pub fn into_ex(self) -> Self

Generated by sea-orm-macros

Implements: Clone, Debug, Eq, From<Model>, FromQueryResult, IntoActiveModel<ActiveModel>, ModelTrait, PartialEq, TryFrom<ActiveModel>, TryIntoModel<Model>

ColumnIter

pub struct ColumnIter {
    /* private fields */
}

An iterator over the variants of Column

Implements: Clone, Debug, DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator

Entity

pub struct Entity;

Generated by sea-orm-macros

Implements: Clone, Copy, Debug, Default, EntityName, EntityTrait, Iden, IdenStatic

PrimaryKeyIter

pub struct PrimaryKeyIter {
    /* private fields */
}

An iterator over the variants of PrimaryKey

Implements: Clone, Debug, DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator

ActiveModel

pub struct ActiveModel {
    pub plugin_key: ActiveValue<String>,
    pub manifest_id: ActiveValue<String>,
    pub schema_sha256: ActiveValue<String>,
    pub package_version: ActiveValue<String>,
    pub schema_version: ActiveValue<i64>,
    pub settings_json: ActiveValue<String>,
    pub recorded_at: ActiveValue<String>,
    pub recorded_by_node: ActiveValue<String>,
}

Generated by sea-orm-macros

Fields

  • plugin_key: Generated by sea-orm-macros
  • manifest_id: Generated by sea-orm-macros
  • schema_sha256: Generated by sea-orm-macros
  • package_version: Generated by sea-orm-macros
  • schema_version: Generated by sea-orm-macros
  • settings_json: Generated by sea-orm-macros
  • recorded_at: Generated by sea-orm-macros
  • recorded_by_node: Generated by sea-orm-macros

Implements: ActiveModelBehavior, ActiveModelTrait, Clone, Debug, Default, From<Model>, IntoActiveModel<ActiveModel>, PartialEq, TryFrom<ActiveModel>, TryIntoModel<Model>

RelationIter

pub struct RelationIter {
    /* private fields */
}

An iterator over the variants of Relation

Implements: Clone, Debug, DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator

Enums

Column

pub enum Column {
    PluginKey,
    ManifestId,
    SchemaSha256,
    PackageVersion,
    SchemaVersion,
    SettingsJson,
    RecordedAt,
    RecordedByNode,
}

Generated by sea-orm-macros

Variants

  • PluginKey: Generated by sea-orm-macros
  • ManifestId: Generated by sea-orm-macros
  • SchemaSha256: Generated by sea-orm-macros
  • PackageVersion: Generated by sea-orm-macros
  • SchemaVersion: Generated by sea-orm-macros
  • SettingsJson: Generated by sea-orm-macros
  • RecordedAt: Generated by sea-orm-macros
  • RecordedByNode: Generated by sea-orm-macros

Implements: Clone, ColumnTrait, Copy, Debug, FromStr, Iden, IdenStatic, IntoEnumIterator

PrimaryKey

pub enum PrimaryKey {
    PluginKey,
}

Generated by sea-orm-macros

Variants

  • PluginKey: Generated by sea-orm-macros

Implements: Clone, Copy, Debug, Iden, IdenStatic, IntoEnumIterator, PrimaryKeyToColumn, PrimaryKeyTrait

Relation

pub enum Relation {}

Declared SeaORM relations (none unless FK edges are modeled).

Implements: Clone, Copy, Debug, IntoEnumIterator, RelationTrait

Generated from crates/bookclerk-library at main · View as Markdown