scsys_agents/core/mod.rs
1/*
2 Appellation: agents <module>
3 Creator: FL03 <jo3mccain@icloud.com>
4 Description: ... Summary ...
5*/
6pub use self::{agent::*, contexts::*, specs::*, states::*};
7
8pub(crate) mod agent;
9pub(crate) mod contexts;
10pub(crate) mod states;
11
12pub(crate) mod specs {
13 use serde::Serialize;
14
15 pub trait Agency: Clone + Default + Serialize + ToString {
16 fn init() -> Self;
17 fn agent(&self) -> String;
18 }
19}