Struct openstack_sdk::api::compute::v2::server::migrate_256::Request
source · pub struct Request<'a> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'a> RestEndpoint for Request<'a>
impl<'a> RestEndpoint for Request<'a>
source§fn request_headers(&self) -> Option<&HeaderMap>
fn request_headers(&self) -> Option<&HeaderMap>
Returns headers to be set into the request
source§fn parameters(&self) -> QueryParams<'_>
fn parameters(&self) -> QueryParams<'_>
Query parameters for the endpoint.
source§fn body(&self) -> Result<Option<(&'static str, Vec<u8>)>, BodyError>
fn body(&self) -> Result<Option<(&'static str, Vec<u8>)>, BodyError>
The body for the endpoint. Read more
source§fn service_type(&self) -> ServiceType
fn service_type(&self) -> ServiceType
The endpoint service type.
source§fn response_key(&self) -> Option<Cow<'static, str>>
fn response_key(&self) -> Option<Cow<'static, str>>
Returns response key under which the data is expected
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> Send for Request<'a>
impl<'a> Sync for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnwindSafe for Request<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<E, T, C> QueryAsync<T, C> for E
impl<E, T, C> QueryAsync<T, C> for E
source§fn query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<T, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
fn query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<T, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
Perform the query asynchronously against the client.
source§impl<E, C> RawQuery<C> for Ewhere
E: RestEndpoint,
C: Client,
impl<E, C> RawQuery<C> for Ewhere
E: RestEndpoint,
C: Client,
source§impl<E, C> RawQueryAsync<C> for E
impl<E, C> RawQueryAsync<C> for E
source§fn download_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<(HeaderMap, BoxedAsyncRead), ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
fn download_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<(HeaderMap, BoxedAsyncRead), ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
Perform a download API call (returning AsyncRead or the body)
source§fn raw_query_async_ll<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
inspect_error: Option<bool>
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
fn raw_query_async_ll<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
inspect_error: Option<bool>
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
Perform the low level query asynchronously against
the client.
source§fn raw_query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
fn raw_query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
Perform the query asynchronously against the client.
source§fn raw_query_read_body_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
data: BoxedAsyncRead
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
fn raw_query_read_body_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
data: BoxedAsyncRead
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
Perform the query asynchronously against the client.