sofie-identity 0.2.0

Accounts, their area memberships, and signing up, in and out: the identity an app opts into.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub(crate) mod factory;

use sofie::prelude::*;

pub(crate) const NAME_TAKEN: &str = "is already a role";

#[derive(Aggregate)]
pub struct Role {
    meta: Meta,
    name: String,
}

pub type RoleId = Id<Role>;