# bookclerk_library::entities::resolution_overrides

SeaORM entity for the `resolution_overrides` table (composite primary key).

| Item | Kind | Summary |
| --- | --- | --- |
| [`Model`](#model) | struct | Row shape for this table (`DeriveEntityModel`). |
| [`ColumnIter`](#columniter) | struct | An iterator over the variants of [Column] |
| [`Entity`](#entity) | struct | Generated by sea-orm-macros |
| [`PrimaryKeyIter`](#primarykeyiter) | struct | An iterator over the variants of [PrimaryKey] |
| [`ActiveModel`](#activemodel) | struct | Generated by sea-orm-macros |
| [`RelationIter`](#relationiter) | struct | An iterator over the variants of [Relation] |
| [`Column`](#column) | enum | Generated by sea-orm-macros |
| [`PrimaryKey`](#primarykey) | enum | Generated by sea-orm-macros |
| [`Relation`](#relation) | enum | Declared SeaORM relations (none unless FK edges are modeled). |

## Structs

### Model

```rust
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`: `listing` or `work`.
- `subject_id`: Id of the listing or work.
- `action`: `pin_edition` (with `target_id`) or `isolate`.
- `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.

#### Model::into_ex

```rust
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>`

### ColumnIter

```rust
pub struct ColumnIter {
    /* private fields */
}
```

An iterator over the variants of [Column](#column)

Implements: `Clone`, `Debug`, `DoubleEndedIterator`, `ExactSizeIterator`, `FusedIterator`, `Iterator`

### Entity

```rust
pub struct Entity;
```

Generated by sea-orm-macros

Implements: `Clone`, `Copy`, `Debug`, `Default`, `EntityName`, `EntityTrait`, `Iden`, `IdenStatic`

### PrimaryKeyIter

```rust
pub struct PrimaryKeyIter {
    /* private fields */
}
```

An iterator over the variants of [PrimaryKey](#primarykey)

Implements: `Clone`, `Debug`, `DoubleEndedIterator`, `ExactSizeIterator`, `FusedIterator`, `Iterator`

### ActiveModel

```rust
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-macros
- `subject_id`: Generated by sea-orm-macros
- `action`: Generated by sea-orm-macros
- `target_id`: Generated by sea-orm-macros
- `created_by_user_id`: Generated by sea-orm-macros
- `created_at`: Generated by sea-orm-macros
- `revision`: Generated by sea-orm-macros

Implements: `ActiveModelBehavior`, `ActiveModelTrait`, `Clone`, `Debug`, `Default`, `From<Model>`, `IntoActiveModel<ActiveModel>`, `PartialEq`, `TryFrom<ActiveModel>`, `TryIntoModel<Model>`

### RelationIter

```rust
pub struct RelationIter {
    /* private fields */
}
```

An iterator over the variants of [Relation](#relation)

Implements: `Clone`, `Debug`, `DoubleEndedIterator`, `ExactSizeIterator`, `FusedIterator`, `Iterator`

## Enums

### Column

```rust
pub enum Column {
    SubjectKind,
    SubjectId,
    Action,
    TargetId,
    CreatedByUserId,
    CreatedAt,
    Revision,
}
```

Generated by sea-orm-macros

**Variants**

- `SubjectKind`: Generated by sea-orm-macros
- `SubjectId`: Generated by sea-orm-macros
- `Action`: Generated by sea-orm-macros
- `TargetId`: Generated by sea-orm-macros
- `CreatedByUserId`: Generated by sea-orm-macros
- `CreatedAt`: Generated by sea-orm-macros
- `Revision`: Generated by sea-orm-macros

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

### PrimaryKey

```rust
pub enum PrimaryKey {
    SubjectKind,
    SubjectId,
}
```

Generated by sea-orm-macros

**Variants**

- `SubjectKind`: Generated by sea-orm-macros
- `SubjectId`: Generated by sea-orm-macros

Implements: `Clone`, `Copy`, `Debug`, `Iden`, `IdenStatic`, `IntoEnumIterator`, `PrimaryKeyToColumn`, `PrimaryKeyTrait`

### Relation

```rust
pub enum Relation {}
```

Declared SeaORM relations (none unless FK edges are modeled).

Implements: `Clone`, `Copy`, `Debug`, `IntoEnumIterator`, `RelationTrait`
