bookclerk_library::entities::store_listings
SeaORM entity for the store_listings 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 plugin_key: String,
pub marketplace: String,
pub product_id: String,
pub edition_id: String,
pub title: String,
pub categories: Option<String>,
pub subtitle: Option<String>,
pub authors: Option<String>,
pub narrators: Option<String>,
pub series: Option<String>,
pub series_index: Option<String>,
pub series_product_id: Option<String>,
pub description: Option<String>,
pub publisher: Option<String>,
pub published_at: Option<String>,
pub length_minutes: Option<i64>,
pub language: Option<String>,
pub cover_url: Option<String>,
pub url: Option<String>,
pub rating_overall: Option<f64>,
pub rating_count: Option<i64>,
pub is_abridged: Option<i64>,
pub is_explicit: Option<i64>,
pub observed_at: String,
pub created_at: String,
pub updated_at: String,
}
Row shape for this table (DeriveEntityModel).
Fields
id: Listing id (a random UUID).plugin_key: Provenance-qualified PluginKey of the storefront.marketplace: Lower-cased marketplace.product_id: The store's own product id.edition_id: The edition it sells.title: Title as the store lists it.categories: Store category labels when reported.subtitle: Subtitle as the store lists it.authors: Authors as the store credits them, comma-separated, for display. Work identity comes from the resolver's credits, never from this.narrators: Narrators as the store credits them, comma-separated, for display.series: Series name as the store lists it.series_index: Position in that series as the store writes it (1,2.5).series_product_id: The store's product id for the series or podcast show (an Audible series ASIN), when it reports one.description: The store's synopsis, kept whole (may contain HTML).publisher: Publisher or imprint as the store lists it.published_at: Publication date as the store reports it.length_minutes: Runtime in whole minutes.language: Language code the store reports (en,de).cover_url: HTTPS cover image URL from the store.url: The store's product page URL.rating_overall: The store's community rating (0 to 5).rating_count: How many ratings backSelf::rating_overall.is_abridged:1when the store marks it abridged,0unabridged, null unknown.is_explicit:1when the store marks it explicit (adult) content,0clean, null unknown.observed_at: RFC 3339 time of the latest scan or catalog answer that reported it.created_at: RFC 3339 timestamp when the row was inserted.updated_at: RFC 3339 timestamp when the row was last modified.
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 plugin_key: ActiveValue<String>,
pub marketplace: ActiveValue<String>,
pub product_id: ActiveValue<String>,
pub edition_id: ActiveValue<String>,
pub title: ActiveValue<String>,
pub categories: ActiveValue<Option<String>>,
pub subtitle: ActiveValue<Option<String>>,
pub authors: ActiveValue<Option<String>>,
pub narrators: ActiveValue<Option<String>>,
pub series: ActiveValue<Option<String>>,
pub series_index: ActiveValue<Option<String>>,
pub series_product_id: ActiveValue<Option<String>>,
pub description: ActiveValue<Option<String>>,
pub publisher: ActiveValue<Option<String>>,
pub published_at: ActiveValue<Option<String>>,
pub length_minutes: ActiveValue<Option<i64>>,
pub language: ActiveValue<Option<String>>,
pub cover_url: ActiveValue<Option<String>>,
pub url: ActiveValue<Option<String>>,
pub rating_overall: ActiveValue<Option<f64>>,
pub rating_count: ActiveValue<Option<i64>>,
pub is_abridged: ActiveValue<Option<i64>>,
pub is_explicit: ActiveValue<Option<i64>>,
pub observed_at: ActiveValue<String>,
pub created_at: ActiveValue<String>,
pub updated_at: ActiveValue<String>,
}
Generated by sea-orm-macros
Fields
id: Generated by sea-orm-macrosplugin_key: Generated by sea-orm-macrosmarketplace: Generated by sea-orm-macrosproduct_id: Generated by sea-orm-macrosedition_id: Generated by sea-orm-macrostitle: Generated by sea-orm-macroscategories: Generated by sea-orm-macrossubtitle: Generated by sea-orm-macrosauthors: Generated by sea-orm-macrosnarrators: Generated by sea-orm-macrosseries: Generated by sea-orm-macrosseries_index: Generated by sea-orm-macrosseries_product_id: Generated by sea-orm-macrosdescription: Generated by sea-orm-macrospublisher: Generated by sea-orm-macrospublished_at: Generated by sea-orm-macroslength_minutes: Generated by sea-orm-macroslanguage: Generated by sea-orm-macroscover_url: Generated by sea-orm-macrosurl: Generated by sea-orm-macrosrating_overall: Generated by sea-orm-macrosrating_count: Generated by sea-orm-macrosis_abridged: Generated by sea-orm-macrosis_explicit: Generated by sea-orm-macrosobserved_at: Generated by sea-orm-macroscreated_at: Generated by sea-orm-macrosupdated_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,
PluginKey,
Marketplace,
ProductId,
EditionId,
Title,
Categories,
Subtitle,
Authors,
Narrators,
Series,
SeriesIndex,
SeriesProductId,
Description,
Publisher,
PublishedAt,
LengthMinutes,
Language,
CoverUrl,
Url,
RatingOverall,
RatingCount,
IsAbridged,
IsExplicit,
ObservedAt,
CreatedAt,
UpdatedAt,
}
Generated by sea-orm-macros
Variants
Id: Generated by sea-orm-macrosPluginKey: Generated by sea-orm-macrosMarketplace: Generated by sea-orm-macrosProductId: Generated by sea-orm-macrosEditionId: Generated by sea-orm-macrosTitle: Generated by sea-orm-macrosCategories: Generated by sea-orm-macrosSubtitle: Generated by sea-orm-macrosAuthors: Generated by sea-orm-macrosNarrators: Generated by sea-orm-macrosSeries: Generated by sea-orm-macrosSeriesIndex: Generated by sea-orm-macrosSeriesProductId: Generated by sea-orm-macrosDescription: Generated by sea-orm-macrosPublisher: Generated by sea-orm-macrosPublishedAt: Generated by sea-orm-macrosLengthMinutes: Generated by sea-orm-macrosLanguage: Generated by sea-orm-macrosCoverUrl: Generated by sea-orm-macrosUrl: Generated by sea-orm-macrosRatingOverall: Generated by sea-orm-macrosRatingCount: Generated by sea-orm-macrosIsAbridged: Generated by sea-orm-macrosIsExplicit: Generated by sea-orm-macrosObservedAt: Generated by sea-orm-macrosCreatedAt: Generated by sea-orm-macrosUpdatedAt: 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