pub fn resolve_optional(
secret: Option<&Secret>,
reserved: &str,
) -> Result<Option<String>, ResolveError>Expand description
Resolve an optional sink value. Same precedence as
resolve_required, plus: when the config omits it, reserved fills it if
set, otherwise None.