Function vector_config::schema::has_ambiguous_discriminants
source ยท pub fn has_ambiguous_discriminants(
discriminants: &HashMap<&'static str, BTreeSet<String>>,
) -> bool
Expand description
Determines whether or not an enum schema is ambiguous based on discriminants of its variants.
A discriminant is the set of the named fields which are required, which may be an empty set.