use serde_json::Value;
pub trait DomainBuilderTrait<DomainType>
where
DomainType: Clone + Send {
fn build_domain_from_scratch(&self) -> DomainType;
fn build_from_solution(&self, solution: &Value) -> DomainType;
fn build_from_domain(&self, domain: &DomainType) -> DomainType {
return domain.clone();
}
}