diff --git a/libimagutil/src/key_value_split.rs b/libimagutil/src/key_value_split.rs index 567118bb..b928820b 100644 --- a/libimagutil/src/key_value_split.rs +++ b/libimagutil/src/key_value_split.rs @@ -17,6 +17,14 @@ impl KeyValue { KeyValue { k: k, v: v } } + pub fn key(&self) -> &K { + &self.k + } + + pub fn value(&self) -> &V { + &self.v + } + } impl Into<(K, V)> for KeyValue {