Mongo.Collection.attribute

You're seeing just the macro attribute, go back to Mongo.Collection module for more information.
Link to this macro

attribute(name, type, opts \\ [])

View Source (macro)

Adds the attribute to the attributes list. It call __attribute__/4 function.