}
}
+ pub fn type_name(&self) -> &str {
+ &self.type_name
+ }
+
+ pub fn id_property(&self) -> Option<&str> {
+ self.id_property.as_deref()
+ }
+
+ pub fn properties(&self) -> &ObjectSchema {
+ self.properties
+ }
+
pub fn get_id_schema(&self) -> Option<&Schema> {
match &self.id_property {
Some(id_prop) => {
self.plugins.insert(plugin.type_name.clone(), plugin);
}
+ /// Access plugin config
+ pub fn plugins(&self) -> &HashMap<String, SectionConfigPlugin> {
+ &self.plugins
+ }
+
/// Write the configuration data to a String.
///
/// This verifies the whole data using the schemas defined in the