pub struct Response(_);

Implementations§

Examples found in repository?
src/package_preview_2022_04_01/mod.rs (line 636)
635
636
637
            pub fn into_future(self) -> futures::future::BoxFuture<'static, azure_core::Result<models::WorkspaceResource>> {
                Box::pin(async move { self.send().await?.into_body().await })
            }
Examples found in repository?
src/package_preview_2022_04_01/mod.rs (line 579)
578
579
580
            fn from(rsp: Response) -> Self {
                rsp.into_raw_response()
            }
Examples found in repository?
src/package_preview_2022_04_01/mod.rs (line 584)
583
584
585
            fn as_ref(&self) -> &azure_core::Response {
                self.as_raw_response()
            }

Trait Implementations§

Converts this type into a shared reference of the (usually inferred) input type.
Converts to this type from the input type.

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more