This module provides a data structure which represents http.request report.
segment_type() :: :segment | :subsegment
t() :: %AwsExRay.Record.HTTPRequest{ client_ip: String.t(), method: String.t() | atom(), segment_type: segment_type(), traced: boolean(), url: String.t(), user_agent: String.t(), x_forwarded_for: boolean() }
to_map(%AwsExRay.Record.HTTPRequest{ client_ip: term(), method: term(), segment_type: term(), traced: term(), url: term(), user_agent: term(), x_forwarded_for: term() }) :: map()