pub struct ResponseParts { /* private fields */ }
Expand description

HTTP 响应信息

不包含响应体信息

Implementations

获取 HTTP 状态码

获取 HTTP 状态码 的可变引用

获取 HTTP Headers

获取 HTTP Headers 的可变引用

获取 HTTP 版本

获取 HTTP 版本的可变引用

获取 扩展信息

获取扩展信息的可变引用

获取 HTTP 响应 Header

获取 HTTP 服务器 IP 地址

获取 HTTP 服务器 IP 地址的可变引用

获取 HTTP 服务器端口号

获取 HTTP 服务器端口号的可变引用

获取 HTTP 响应的指标信息

获取 HTTP 响应的指标信息的可变引用

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.