pub fn aliased(name: &str, namespace: Option<&str>, default_namespace: Option<&str>) -> String {
    if name.contains('.') {
        name.to_string()
    } else {
        let namespace = namespace.as_ref().copied().or(default_namespace);

        match namespace {
            Some(ref namespace) => format!("{}.{}", namespace, name),
            None => name.to_string(),
        }
    }
}
/// Returns the fully qualified name for a field
Returns the fully qualified name for a field
Returns the fully qualified name for a field
pub fn aliased(name: &str, namespace: Option<&str>, default_namespace: Option<&str>) -> String {
    if name.contains('.') {
        name.to_string()
    } else {
        let namespace = namespace.as_ref().copied().or(default_namespace);
        match namespace {
            Some(ref namespace) => format!("{}.{}", namespace, name),
            None => name.to_string(),
        }
    }
}
pub fn aliased ( name : & str , namespace : Option < & str > , default_namespace : Option < & str > ) -> String { if name . contains ( '.' ) { name . to_string ( ) } else { let namespace = namespace . as_ref ( ) . copied ( ) . or ( default_namespace ) ; match namespace { Some ( ref namespace ) => format ! ( " " namespace name ) , None => name . to_string ( ) , } } }
Returns the fully qualified name for a field
Returns the fully qualified name for a field
name
&str
namespace
Option<&str>
default_namespace
Option<&str>
name
&str
namespace
Option<&str>
default_namespace
Option<&str>