Document how a RequestBuilder gets constructed (#1097)
This commit is contained in:
@@ -27,6 +27,8 @@ pub struct Request {
|
||||
}
|
||||
|
||||
/// A builder to construct the properties of a `Request`.
|
||||
///
|
||||
/// To construct a `RequestBuilder`, refer to the `Client` documentation.
|
||||
#[must_use = "RequestBuilder does nothing until you 'send' it"]
|
||||
pub struct RequestBuilder {
|
||||
client: Client,
|
||||
|
||||
@@ -22,6 +22,8 @@ pub struct Request {
|
||||
}
|
||||
|
||||
/// A builder to construct the properties of a `Request`.
|
||||
///
|
||||
/// To construct a `RequestBuilder`, refer to the `Client` documentation.
|
||||
#[derive(Debug)]
|
||||
#[must_use = "RequestBuilder does nothing until you 'send' it"]
|
||||
pub struct RequestBuilder {
|
||||
|
||||
Reference in New Issue
Block a user