pub fn parse_merged<T: DeserializeOwned + Default>(
config: &GoogleConfig,
provider_options: &ProviderOptions,
merge: impl FnOnce(T, T) -> T,
) -> Result<T, InvalidArgumentError>Expand description
Parses T under the canonical google key and, when the configured name
differs, under that name as well; merge combines the two (the custom
key wins).
ยงErrors
Returns InvalidArgumentError when either object does not match the
option schema.