Struct azure_mgmt_riskiq::package_preview_2022_04_01::workspaces::list_by_subscription::RequestBuilder
source · pub struct RequestBuilder { /* private fields */ }
Expand description
RequestBuilder
provides a mechanism for setting optional parameters on a request.
Each RequestBuilder
parameter method call returns Self
, so setting of multiple
parameters can be chained.
The building of a request is typically finalized by invoking .await
on
RequestBuilder
. This implicitly invokes the IntoFuture::into_future()
method, which converts RequestBuilder
into a future that executes the request
operation and returns a Result
with the parsed response.
If you need lower-level access to the raw response details (e.g. to inspect
response headers or raw body data) then you can finalize the request using the
[RequestBuilder::send()
] method which returns a future that resolves to a lower-level
Response
value.
Implementations§
source§impl RequestBuilder
impl RequestBuilder
pub fn into_stream(self) -> Pageable<WorkspaceResourceList, Error>
Trait Implementations§
source§impl Clone for RequestBuilder
impl Clone for RequestBuilder
source§fn clone(&self) -> RequestBuilder
fn clone(&self) -> RequestBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more