bookclerk_library::entities::resolution_overrides
SeaORM entity for the resolution_overrides table (composite 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 subject_kind: String,
pub subject_id: String,
pub action: String,
pub target_id: Option<String>,
pub created_by_user_id: Option<i64>,
pub created_at: String,
pub revision: String,
}
Row shape for this table (DeriveEntityModel).
Fields
subject_kind:listingorwork.subject_id: Id of the listing or work.action:pin_edition(withtarget_id) orisolate.target_id: The edition a pinned listing sells.created_by_user_id: Administrator who made the decision.created_at: RFC 3339 timestamp when the row was inserted.revision: Id of this write of the row (a UUID), new each time the decision is made again; empty for rows written before revisions.
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 subject_kind: ActiveValue<String>,
pub subject_id: ActiveValue<String>,
pub action: ActiveValue<String>,
pub target_id: ActiveValue<Option<String>>,
pub created_by_user_id: ActiveValue<Option<i64>>,
pub created_at: ActiveValue<String>,
pub revision: ActiveValue<String>,
}
Generated by sea-orm-macros
Fields
subject_kind: Generated by sea-orm-macrossubject_id: Generated by sea-orm-macrosaction: Generated by sea-orm-macrostarget_id: Generated by sea-orm-macroscreated_by_user_id: Generated by sea-orm-macroscreated_at: Generated by sea-orm-macrosrevision: 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 {
SubjectKind,
SubjectId,
Action,
TargetId,
CreatedByUserId,
CreatedAt,
Revision,
}
Generated by sea-orm-macros
Variants
SubjectKind: Generated by sea-orm-macrosSubjectId: Generated by sea-orm-macrosAction: Generated by sea-orm-macrosTargetId: Generated by sea-orm-macrosCreatedByUserId: Generated by sea-orm-macrosCreatedAt: Generated by sea-orm-macrosRevision: Generated by sea-orm-macros
Implements: Clone, ColumnTrait, Copy, Debug, FromStr, Iden, IdenStatic, IntoEnumIterator
pub enum PrimaryKey {
SubjectKind,
SubjectId,
}
Generated by sea-orm-macros
Variants
SubjectKind: Generated by sea-orm-macrosSubjectId: 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