pub trait AttributeValue {
// Required method
fn get_attribute_value(&self, attr_name: &str, key: &str) -> Option<String>;
// Provided method
fn get_attribute_bool(&self, attr_name: &str, key: &str) -> bool { ... }
}Expand description
Public trait for attribute value extraction