def inspect
      attributes = to_h.map { |key, value| "#{key}=#{value.inspect}" }.join(', ')

      format(INSPECT_TEMPLATE, class_name: self.class.name, attributes: attributes)
    end
def inspect
      attributes = to_h.map { |key, value| "#{key}=#{value.inspect}" }.join(', ')

      format(INSPECT_TEMPLATE, class_name: self.class.name, attributes: attributes)
    end
@return [String]

 @example
   User = Fear::Struct.with_attributes(:id, :email)
   user = User.new(id: 2, email: 'john@exmaple.com')
   user.inspect #=> "<#Fear::Struct User id=2, email=>'john@exmaple.com'>"