When Rust doesn't allow you to unwrap an `Option`, use `.as_ref()`.
Unwrapping `&Option<Foo>` causes "cannot move out of borrowed content" error, because it assumes you want to take ownership of `Foo`, and that's not allowed through a reference.
`option.as_ref()` flips it inside-out to become `Option<&Foo>`, and `unwrap()` will get a reference rather than ownership, which is fine.
Try it: https://is.gd/3lPJqk