Skip to main content

Module prelude

Module prelude 

Source
Expand description

Convenient re-exports for common usage.

§Usage

use entity_core::prelude::*;

Structs§

Pagination
Pagination parameters for list operations.
Transaction
Transaction builder for composing multi-entity operations.
TransactionContextpostgres
Active transaction context with repository access.

Enums§

CommandKind
Kind of business command.
EventKind
Kind of lifecycle event.
PolicyError
Error type for policy-checked repository operations.
PolicyOperation
Operation kind for policy checks.
SortDirection
Sort direction for ordered queries.
StreamError
Error type for stream operations.
TransactionError
Error type for transaction operations.

Traits§

EntityCommand
Base trait for entity commands.
EntityEvent
Base trait for entity lifecycle events.
Repository
Base repository trait.

Attribute Macros§

async_trait