We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The various add_foo_with_metadata are a verbose API due to Option. For readability purposes, _with_metadata and Option don't quite align.
add_foo_with_metadata
Option
_with_metadata
A fairly simple solution is to have a third (non-pub) fn that does the real work to handle the Option.