pub struct RequestParts<'r> { /* private fields */ }
Expand description

HTTP 请求信息

不包含请求体信息

Implementations

获取 HTTP 请求 URL

获取 HTTP 请求 URL 的可变引用

获取请求 HTTP 版本

获取请求 HTTP 版本的可变引用

获取请求 HTTP 方法

获取请求 HTTP 方法的可变引用

获取请求 HTTP Headers

获取请求 HTTP Headers 的可变引用

获取扩展信息

获取扩展信息的可变引用

获取用户代理

获取追加的用户代理

获取追加的用户代理的可变引用

获取预解析的服务器套接字地址

获取预解析的服务器套接字地址的可变引用

获取上传进度回调

获取上传进度回调的可变引用

获取接受到响应状态回调

获取接受到响应状态回调的可变引用

获取接受到响应 Header 回调

获取接受到响应 Header 回调的可变引用

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.