DNS.Record.to_record

You're seeing just the function to_record, go back to DNS.Record module for more information.

Converts a DNS.Record struct to a :dns_rec record.