Skip to main content

domain

Function domain 

Source
pub fn domain(name: &str) -> Domain
Expand description

A domain named name, on which you define its aggregates, read models, reactors and event and command schemas: let shop_domain = domain("shop");.

ยงPanics

If name does not start with a letter or holds characters other than letters, digits, - and _.