pub trait DomainObject {
// Required methods
fn name(&self) -> &str;
fn inline_doc(&self) -> &str;
fn object_type(&self) -> DomainObjectType;
fn is_aggregate_root(&self) -> bool;
fn has_unique_id(&self) -> bool;
}pub trait DomainObject {
// Required methods
fn name(&self) -> &str;
fn inline_doc(&self) -> &str;
fn object_type(&self) -> DomainObjectType;
fn is_aggregate_root(&self) -> bool;
fn has_unique_id(&self) -> bool;
}