Columns can be renamed. (#1447)

This commit is contained in:
Andrés N. Robalino
2020-03-03 16:01:24 -05:00
committed by GitHub
parent f97f9d4af3
commit c731a5b628
6 changed files with 203 additions and 0 deletions

View File

@ -130,6 +130,11 @@ impl Dictionary {
self.entries.keys()
}
/// Iterate the values in the Dictionary
pub fn values(&self) -> impl Iterator<Item = &Value> {
self.entries.values()
}
/// Checks if given key exists
pub fn contains_key(&self, key: &str) -> bool {
self.entries.contains_key(key)