oneiros-model 0.0.4

Shared domain types for oneiros
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

use crate::*;

#[derive(Serialize, Deserialize)]
pub struct Actor {
    pub tenant_id: TenantId,
    pub actor_id: ActorId,
    pub name: ActorName,
}

domain_id!(ActorId);
domain_name!(ActorName);