bookclerk_library::entities::chapter_list_entries
SeaORM entity for chapter_list_entries: one chapter of a stored
chapter list (chapter_lists), in pre-order.
| Item | Kind | Summary |
|---|---|---|
Model |
struct | Row shape for one chapter of a stored list. |
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). |
pub struct Model {
pub digest: String,
pub position: i64,
pub start_ms: i64,
pub depth: i64,
pub title: String,
}
Row shape for one chapter of a stored list.
Fields
digest: The list's digest (chapter_lists.digest).position: The chapter's place in the list, from 0.start_ms: Start, in milliseconds from the start of the edition's timeline.depth: Nesting depth; 0 for a top-level chapter.title: Chapter title; never empty.
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>
pub struct ColumnIter {
/* private fields */
}
An iterator over the variants of Column
Implements: Clone, Debug, DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator
pub struct Entity;
Generated by sea-orm-macros
Implements: Clone, Copy, Debug, Default, EntityName, EntityTrait, Iden, IdenStatic
pub struct PrimaryKeyIter {
/* private fields */
}
An iterator over the variants of PrimaryKey
Implements: Clone, Debug, DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator
pub struct ActiveModel {
pub digest: ActiveValue<String>,
pub position: ActiveValue<i64>,
pub start_ms: ActiveValue<i64>,
pub depth: ActiveValue<i64>,
pub title: ActiveValue<String>,
}
Generated by sea-orm-macros
Fields
digest: Generated by sea-orm-macrosposition: Generated by sea-orm-macrosstart_ms: Generated by sea-orm-macrosdepth: Generated by sea-orm-macrostitle: Generated by sea-orm-macros
Implements: ActiveModelBehavior, ActiveModelTrait, Clone, Debug, Default, From<Model>, IntoActiveModel<ActiveModel>, PartialEq, TryFrom<ActiveModel>, TryIntoModel<Model>
pub struct RelationIter {
/* private fields */
}
An iterator over the variants of Relation
Implements: Clone, Debug, DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator
pub enum Column {
Digest,
Position,
StartMs,
Depth,
Title,
}
Generated by sea-orm-macros
Variants
Digest: Generated by sea-orm-macrosPosition: Generated by sea-orm-macrosStartMs: Generated by sea-orm-macrosDepth: Generated by sea-orm-macrosTitle: Generated by sea-orm-macros
Implements: Clone, ColumnTrait, Copy, Debug, FromStr, Iden, IdenStatic, IntoEnumIterator
pub enum PrimaryKey {
Digest,
Position,
}
Generated by sea-orm-macros
Variants
Digest: Generated by sea-orm-macrosPosition: Generated by sea-orm-macros
Implements: Clone, Copy, Debug, Iden, IdenStatic, IntoEnumIterator, PrimaryKeyToColumn, PrimaryKeyTrait
pub enum Relation {}
Declared SeaORM relations (none).
Implements: Clone, Copy, Debug, IntoEnumIterator, RelationTrait
Generated from crates/bookclerk-library at main · View as Markdown