pub trait RawData {
// Required method
fn get_value(&self) -> &HashMap<MetaString, Value>;
// Provided methods
fn get(&self, key: &str) -> Option<&Value> { ... }
fn to_bytes(&self) -> Result<Vec<u8>, GenericError> { ... }
}
Expand description
Raw data trait for configuration data
Required Methods§
Sourcefn get_value(&self) -> &HashMap<MetaString, Value>
fn get_value(&self) -> &HashMap<MetaString, Value>
Get the value of the data