pub trait AttrSet: Send + Sync {
// Required methods
fn get(&self, key: &str) -> Option<&str>;
fn get_list(&self, key: &str) -> Option<Vec<&str>>;
// Provided methods
fn has(&self, key: &str, value: &str) -> bool { ... }
fn contains(&self, key: &str, value: &str) -> bool { ... }
}Expand description
Attribute set trait - all objects implement this