bookclerk_library::entities::bookclerk_receipts
SeaORM entity for durable atomic result receipts.
| 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 operation_id: String,
pub operation_kind: String,
pub request_hash: String,
pub status: String,
pub payload: Option<String>,
pub created_at: String,
pub expires_at: String,
pub consume_key: Option<String>,
}
Row shape for this table (DeriveEntityModel).
Fields
operation_id: Caller-chosen idempotency key (operationId).operation_kind: Named operation tag (deleteUser,takeOidcRpState, …).request_hash: SHA-256 hex digest of the canonicaloperationJSON.status: Application status stored with the first commit.payload: JSON payload when the first commit produced one.created_at: RFC 3339 timestamp when the receipt was first written.expires_at: RFC 3339 expiry; bounded cleanup deletes older rows.consume_key: Unique consume-once token (oidc:<hash>,webauthn:<id>:<kind>).
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 operation_id: ActiveValue<String>,
pub operation_kind: ActiveValue<String>,
pub request_hash: ActiveValue<String>,
pub status: ActiveValue<String>,
pub payload: ActiveValue<Option<String>>,
pub created_at: ActiveValue<String>,
pub expires_at: ActiveValue<String>,
pub consume_key: ActiveValue<Option<String>>,
}
Generated by sea-orm-macros
Fields
operation_id: Generated by sea-orm-macrosoperation_kind: Generated by sea-orm-macrosrequest_hash: Generated by sea-orm-macrosstatus: Generated by sea-orm-macrospayload: Generated by sea-orm-macroscreated_at: Generated by sea-orm-macrosexpires_at: Generated by sea-orm-macrosconsume_key: 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 {
OperationId,
OperationKind,
RequestHash,
Status,
Payload,
CreatedAt,
ExpiresAt,
ConsumeKey,
}
Generated by sea-orm-macros
Variants
OperationId: Generated by sea-orm-macrosOperationKind: Generated by sea-orm-macrosRequestHash: Generated by sea-orm-macrosStatus: Generated by sea-orm-macrosPayload: Generated by sea-orm-macrosCreatedAt: Generated by sea-orm-macrosExpiresAt: Generated by sea-orm-macrosConsumeKey: Generated by sea-orm-macros
Implements: Clone, ColumnTrait, Copy, Debug, FromStr, Iden, IdenStatic, IntoEnumIterator
pub enum PrimaryKey {
OperationId,
}
Generated by sea-orm-macros
Variants
OperationId: 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