Expand description
§cqrs-todo-core
cqrs-todo-core is a demonstration crate, showing how to construct an aggregate, with the associated events
and commands, using the CQRS system.
Modules§
- commands
- Commands for the to-do system.
- domain
- Special types that may require validation to ensure they don’t contain invalid values.
- error
- Error types for the domain and aggregate.
- events
- Events in the to-do system
Structs§
- Todo
Data - Data relating to a to-do item.
- TodoId
- An identifier for an item to be done.
- Todo
IdRef - An identifier for an item to be done.
- Todo
Metadata - Metadata about events.
Enums§
- Todo
Aggregate - An aggregate representing the view of a to-do item.
- Todo
Event - A combined roll-up of the events that can be applied to a TodoAggregate.
- Todo
Status - The completion status of a to-do item.