pub fn pop_value_integer_option(map: &mut HashMap<Vec<u8>, Value>, key: String) -> Result<Option<i64>, HelperDecodeError> {
    let value = pop_value_integer(map, key);
    match value {
        Ok(value) => Ok(Some(value)),
        Err(HelperDecodeError::MissingKey(_)) => Ok(None),
        Err(e) => Err(e),
    }
}
/// Pops an optional BValue::Integer from a HashMap.
Pops an optional BValue::Integer from a HashMap.
Pops an optional BValue :: Integer from a HashMap .
pub fn pop_value_integer_option(map: &mut HashMap<Vec<u8>, Value>, key: String) -> Result<Option<i64>, HelperDecodeError> {
    let value = pop_value_integer(map, key);
    match value {
        Ok(value) => Ok(Some(value)),
        Err(HelperDecodeError::MissingKey(_)) => Ok(None),
        Err(e) => Err(e),
    }
}
pub fn pop_value_integer_option ( map : & mut HashMap < Vec < u8 > , Value > , key : String ) -> Result < Option < i64 > , HelperDecodeError > { let value = pop_value_integer ( map , key ) ; match value { Ok ( value ) => Ok ( Some ( value ) ) , Err ( HelperDecodeError :: MissingKey ( _ ) ) => Ok ( None ) , Err ( e ) => Err ( e ) , } }
Pops an optional BValue::Integer from a HashMap.
Pops an optional BValue :: Integer from a HashMap .
map
&mut HashMap<Vec<u8>, Value>
key
String
map
&mut HashMap<Vec<u8>, Value>
key
String