Just noticed a super-cool feature of the #rust language server. I can click on one of the ||s in:
key.contains('.') || key == "debug" || key == "enabled_events" || key == "retries"
then select Apply De Morgan's Law, and it automatically changes to:
!(!key.contains('.') && key != "debug" && key != "enabled_events" && key != "retries")