Skip to main content

named_type_namespace

Function named_type_namespace 

Source
fn named_type_namespace<'a>(
    name: &'a str,
    namespace: Option<&'a str>,
    enclosing_ns: Option<&'a str>,
) -> Option<&'a str>
Expand description

Returns the namespace of a named type.

A name containing a dot is a full name, so its namespace is taken from the name and both the namespace attribute and the enclosing namespace are ignored.

See https://avro.apache.org/docs/1.11.1/specification/#names