bookclerk_library::entities::editions
SeaORM entity for the editions table (text primary key).
| 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). |
pub struct Model {
pub id: String,
pub expression_id: String,
pub media_kind: String,
pub title: String,
pub subtitle: Option<String>,
pub published_at: Option<String>,
pub duration_minutes: Option<i64>,
pub cover_url: Option<String>,
pub created_at: String,
pub updated_at: String,
pub enrich_source: Option<String>,
pub enrich_confidence: Option<f64>,
pub enrich_updated_at: Option<String>,
}
Row shape for this table (DeriveEntityModel).
Fields
id: Edition id (a random UUID).expression_id: The expression it releases.media_kind: Form:audiobook,ebook,printorpodcast_audio.title: Display title.subtitle: Subtitle when distinct from the title.published_at: Publication date (RFC 3339) when known.duration_minutes: Runtime in whole minutes when known.cover_url: HTTPS URL of cover art when known.created_at: RFC 3339 timestamp when the row was inserted.updated_at: RFC 3339 timestamp when the row was last modified.enrich_source: Who filled the edition's (and its work's) missing metadata:metadata:<plugin key>for a metadata provider,audiblefor the Audible catalog match;Noneuntil an enricher filled something.enrich_confidence: How sure that enricher was of its match, from 0.0 to 1.0.enrich_updated_at: When the enricher last filled it (RFC 3339).
pub fn into_ex(self) -> Self
Generated by sea-orm-macros
Implements: Clone, Debug, 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 id: ActiveValue<String>,
pub expression_id: ActiveValue<String>,
pub media_kind: ActiveValue<String>,
pub title: ActiveValue<String>,
pub subtitle: ActiveValue<Option<String>>,
pub published_at: ActiveValue<Option<String>>,
pub duration_minutes: ActiveValue<Option<i64>>,
pub cover_url: ActiveValue<Option<String>>,
pub created_at: ActiveValue<String>,
pub updated_at: ActiveValue<String>,
pub enrich_source: ActiveValue<Option<String>>,
pub enrich_confidence: ActiveValue<Option<f64>>,
pub enrich_updated_at: ActiveValue<Option<String>>,
}
Generated by sea-orm-macros
Fields
id: Generated by sea-orm-macrosexpression_id: Generated by sea-orm-macrosmedia_kind: Generated by sea-orm-macrostitle: Generated by sea-orm-macrossubtitle: Generated by sea-orm-macrospublished_at: Generated by sea-orm-macrosduration_minutes: Generated by sea-orm-macroscover_url: Generated by sea-orm-macroscreated_at: Generated by sea-orm-macrosupdated_at: Generated by sea-orm-macrosenrich_source: Generated by sea-orm-macrosenrich_confidence: Generated by sea-orm-macrosenrich_updated_at: 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 {
Id,
ExpressionId,
MediaKind,
Title,
Subtitle,
PublishedAt,
DurationMinutes,
CoverUrl,
CreatedAt,
UpdatedAt,
EnrichSource,
EnrichConfidence,
EnrichUpdatedAt,
}
Generated by sea-orm-macros
Variants
Id: Generated by sea-orm-macrosExpressionId: Generated by sea-orm-macrosMediaKind: Generated by sea-orm-macrosTitle: Generated by sea-orm-macrosSubtitle: Generated by sea-orm-macrosPublishedAt: Generated by sea-orm-macrosDurationMinutes: Generated by sea-orm-macrosCoverUrl: Generated by sea-orm-macrosCreatedAt: Generated by sea-orm-macrosUpdatedAt: Generated by sea-orm-macrosEnrichSource: Generated by sea-orm-macrosEnrichConfidence: Generated by sea-orm-macrosEnrichUpdatedAt: Generated by sea-orm-macros
Implements: Clone, ColumnTrait, Copy, Debug, FromStr, Iden, IdenStatic, IntoEnumIterator
pub enum PrimaryKey {
Id,
}
Generated by sea-orm-macros
Variants
Id: Generated by sea-orm-macros
Implements: Clone, Copy, Debug, Iden, IdenStatic, IntoEnumIterator, PrimaryKeyToColumn, PrimaryKeyTrait
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