code: @Override
      public void validateUpdate(IDataType newType) throws TypeUpdateException {
          super.validateUpdate(newType);
  
          StructType newStructType = (StructType) newType;
          try {
              TypeUtils.validateUpdate(fieldMapping, newStructType.fieldMapping);
          } catch (TypeUpdateException e) {
              throw new TypeUpdateException(newType, e);
          }
      }
docs: Validate that current definition can be updated with the new definition
  @param newType
  @return true if the current definition can be updated with the new definition, else false