bookclerk_library::entities::window_book_parts

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

Last updated View as Markdown

SeaORM entity for window_book_parts: one piece of a window book's stored edition and identifiers (control_plane::window_books).

Item Kind Summary
Model struct One piece of a window book's JSON, at most the database's cell limit.
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 parent_library_id: String,
    pub store: String,
    pub marketplace: String,
    pub product_id: String,
    pub version: String,
    pub seq: i64,
    pub body: String,
}

One piece of a window book's JSON, at most the database's cell limit.

Fields

  • parent_library_id: The library (parent library id) that holds the book.
  • store: The store's plain id (audible, libro, ...).
  • marketplace: Lower-cased store marketplace; empty when the store has none.
  • product_id: The store's product id.
  • version: The write that added it (random); the book row names the version to read.
  • seq: The piece's place, from 0; the pieces joined in this order are the whole JSON.
  • body: This piece of the JSON text.

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 parent_library_id: ActiveValue<String>,
    pub store: ActiveValue<String>,
    pub marketplace: ActiveValue<String>,
    pub product_id: ActiveValue<String>,
    pub version: ActiveValue<String>,
    pub seq: ActiveValue<i64>,
    pub body: ActiveValue<String>,
}

Generated by sea-orm-macros

Fields

  • parent_library_id: Generated by sea-orm-macros
  • store: Generated by sea-orm-macros
  • marketplace: Generated by sea-orm-macros
  • product_id: Generated by sea-orm-macros
  • version: Generated by sea-orm-macros
  • seq: Generated by sea-orm-macros
  • body: 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 {
    ParentLibraryId,
    Store,
    Marketplace,
    ProductId,
    Version,
    Seq,
    Body,
}

Generated by sea-orm-macros

Variants

  • ParentLibraryId: Generated by sea-orm-macros
  • Store: Generated by sea-orm-macros
  • Marketplace: Generated by sea-orm-macros
  • ProductId: Generated by sea-orm-macros
  • Version: Generated by sea-orm-macros
  • Seq: Generated by sea-orm-macros
  • Body: Generated by sea-orm-macros

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

PrimaryKey

pub enum PrimaryKey {
    ParentLibraryId,
    Store,
    Marketplace,
    ProductId,
    Version,
    Seq,
}

Generated by sea-orm-macros

Variants

  • ParentLibraryId: Generated by sea-orm-macros
  • Store: Generated by sea-orm-macros
  • Marketplace: Generated by sea-orm-macros
  • ProductId: Generated by sea-orm-macros
  • Version: Generated by sea-orm-macros
  • Seq: 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