use dyn_clone::DynClone; use crate::core::LogicalIdentified; // TODO: impl unmanaged resource /// Resource section /// cf. pub trait ManagedResource: erased_serde::Serialize + DynClone + LogicalIdentified { fn resource_type(&self) -> &'static str; } erased_serde::serialize_trait_object!(ManagedResource); dyn_clone::clone_trait_object!(ManagedResource);