public StructDataType getDeclaredStructType(String name) {
        return declaredStructTypes.get(name);
    }
Get a struct declared in this document only.
Returns null if no such struct was found.

@param name the name of the struct
@return reference to a struct data type, or null
document/src/main/java/com/yahoo/document/DocumentType.java