Mailroom.IMAP.BodyStructure.new

You're seeing just the function new, go back to Mailroom.IMAP.BodyStructure module for more information.

Generates a BodyStructure struct from the IMAP ENVELOPE list