[][src]Crate cqrs_todo_core

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

TodoData

Data relating to a to-do item.

TodoId

An identifier for an item to be done.

TodoIdRef

An identifier for an item to be done.

TodoMetadata

Metadata about events.

Enums

TodoAggregate

An aggregate representing the view of a to-do item.

TodoEvent

A combined roll-up of the events that can be applied to a TodoAggregate.

TodoStatus

The completion status of a to-do item.