DNS.Header.to_record

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

Converts a DNS.Header struct to a :dns_header record.