unfortunately, the standard library cannot implements Borrow for every possible shapes of tuples. you can use a newtype wrapper as the key, something like:
That makes sense, but it still does not compile: Rust Playground
Also, changing the get_mut to get makes the code compile, but the type signature for get_mut and get don't differ in terms of any lifetimes: Rust Playground