pub const MODULE_OPTIONS_TOKEN: &str = "CACHE_MODULE_OPTIONS";
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct ConfigurableModuleClass {
pub module_name: String,
pub factory_method_name: String,
}
impl ConfigurableModuleClass {
pub fn new() -> Self {
Self {
module_name: "Cache".to_string(),
factory_method_name: "createCacheOptions".to_string(),
}
}
}
impl Default for ConfigurableModuleClass {
fn default() -> Self {
Self::new()
}
}