made-core 0.7.3

Domain core of MADE: entities, value objects, events, ports. No IO.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};

use crate::value_objects::{AgentId, AgentKind, Attributes, Specialty};

/// Domain description used to construct a live agent.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct AgentDescriptor {
    pub id: AgentId,
    pub specialty: Specialty,
    pub kind: AgentKind,
    pub attributes: Attributes,
}