Struct azure_mgmt_resources::package_resources_2021_04::deployments::delete_at_subscription_scope::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.
This RequestBuilder
implements a Long Running Operation
(LRO).
To finalize and submit the request, invoke .await
, which
which will convert the RequestBuilder
into a future
executes the request and polls the service until the
operation completes.
In order to execute the request without polling the service
until the operation completes, use
RequestBuilder::send()
, which will return a lower-level
Response
value.
Implementations§
source§impl RequestBuilder
impl RequestBuilder
sourcepub fn send(self) -> BoxFuture<'static, Result<Response>>
pub fn send(self) -> BoxFuture<'static, Result<Response>>
Returns a future that sends the request and returns a Response
object that provides low-level access to full response details.
You should typically use .await
(which implicitly calls IntoFuture::into_future()
) to finalize and send requests rather than send()
.
However, this function can provide more flexibility when required.
Trait Implementations§
source§impl Clone for RequestBuilder
impl Clone for RequestBuilder
source§fn clone(&self) -> RequestBuilder
fn clone(&self) -> RequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more