bookclerk_library::entities::plugin_versions

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

Last updated View as Markdown

SeaORM entity for plugin_versions: one installed version of a plugin.

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).

Structs

Model

pub struct Model {
    pub plugin_key: String,
    pub version: String,
    pub manifest_id: String,
    pub manifest_toml: String,
    pub settings_json: String,
    pub artifacts_json: String,
    pub publisher_verified: i64,
    pub grant_json: String,
    pub coordinate: String,
    pub installed_at: String,
    pub installed_by: String,
}

Row shape for this table (DeriveEntityModel).

Fields

  • plugin_key: Canonical plugin key.
  • version: Semver package version.
  • manifest_id: Manifest id (display alias).
  • manifest_toml: plugin.toml text of the version.
  • settings_json: JSON SettingsSchema the version declares.
  • artifacts_json: JSON list of per-target artifacts with digests.
  • publisher_verified: 1 when the publisher was verified at install time.
  • grant_json: JSON consent grant the operator approved; empty until approved.
  • coordinate: Package coordinate the version was resolved from (cargo:…@v); empty for a local archive.
  • installed_at: RFC 3339 install time.
  • installed_by: Audit identity of the publisher.

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 version: ActiveValue<String>,
    pub manifest_id: ActiveValue<String>,
    pub manifest_toml: ActiveValue<String>,
    pub settings_json: ActiveValue<String>,
    pub artifacts_json: ActiveValue<String>,
    pub publisher_verified: ActiveValue<i64>,
    pub grant_json: ActiveValue<String>,
    pub coordinate: ActiveValue<String>,
    pub installed_at: ActiveValue<String>,
    pub installed_by: ActiveValue<String>,
}

Generated by sea-orm-macros

Fields

  • plugin_key: Generated by sea-orm-macros
  • version: Generated by sea-orm-macros
  • manifest_id: Generated by sea-orm-macros
  • manifest_toml: Generated by sea-orm-macros
  • settings_json: Generated by sea-orm-macros
  • artifacts_json: Generated by sea-orm-macros
  • publisher_verified: Generated by sea-orm-macros
  • grant_json: Generated by sea-orm-macros
  • coordinate: Generated by sea-orm-macros
  • installed_at: Generated by sea-orm-macros
  • installed_by: 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,
    Version,
    ManifestId,
    ManifestToml,
    SettingsJson,
    ArtifactsJson,
    PublisherVerified,
    GrantJson,
    Coordinate,
    InstalledAt,
    InstalledBy,
}

Generated by sea-orm-macros

Variants

  • PluginKey: Generated by sea-orm-macros
  • Version: Generated by sea-orm-macros
  • ManifestId: Generated by sea-orm-macros
  • ManifestToml: Generated by sea-orm-macros
  • SettingsJson: Generated by sea-orm-macros
  • ArtifactsJson: Generated by sea-orm-macros
  • PublisherVerified: Generated by sea-orm-macros
  • GrantJson: Generated by sea-orm-macros
  • Coordinate: Generated by sea-orm-macros
  • InstalledAt: Generated by sea-orm-macros
  • InstalledBy: Generated by sea-orm-macros

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

PrimaryKey

pub enum PrimaryKey {
    PluginKey,
    Version,
}

Generated by sea-orm-macros

Variants

  • PluginKey: Generated by sea-orm-macros
  • Version: Generated by sea-orm-macros

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

Relation

pub enum Relation {}

Declared SeaORM relations (none).

Implements: Clone, Copy, Debug, IntoEnumIterator, RelationTrait

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