This crate provides domain_patterns derive macros.
The Entity derive macro can be used to automatically implement all methods of the Entity trait
from the domain_patterns crate. This only works if certain preconditions are met:
id field of type Uuid.version field which is some integer type.```edition2018
extern crate domain_derive; use uuid::Uuid;
struct User { id: Uuid, version: u64 }; ```