pub struct HttpRequestOutput {
pub source: IpPort,
pub destination: IpPort,
pub lang: Option<String>,
pub diagnosis: HttpDiagnosis,
pub browser_matched: BrowserQualityMatched,
pub sig: ObservableHttpRequest,
}Available on crate feature
http-p0f-request only.Expand description
Holds information derived from analyzing HTTP request headers.
Fields§
§source: IpPortThe source IP address and port of the client making the request.
destination: IpPortThe destination IP address and port of the server receiving the request.
lang: Option<String>The preferred language indicated in the Accept-Language header, if present.
diagnosis: HttpDiagnosisDiagnostic information about potential HTTP specification violations or common practices.
browser_matched: BrowserQualityMatchedThe browser with the highest quality that matches the HTTP request.
sig: ObservableHttpRequestThe raw signature representing the HTTP headers and their order.
Trait Implementations§
Source§impl Debug for HttpRequestOutput
impl Debug for HttpRequestOutput
Source§impl Display for HttpRequestOutput
impl Display for HttpRequestOutput
Source§impl Serialize for HttpRequestOutput
impl Serialize for HttpRequestOutput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for HttpRequestOutput
impl RefUnwindSafe for HttpRequestOutput
impl Send for HttpRequestOutput
impl Sync for HttpRequestOutput
impl Unpin for HttpRequestOutput
impl UnsafeUnpin for HttpRequestOutput
impl UnwindSafe for HttpRequestOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more