pub enum CollectionResponseDeserializer {}Expand description
A body deserializer for collection types.
Trait Implementations§
Source§impl<T, R> AsyncDeserializeResponse<T, R> for CollectionResponseDeserializer
impl<T, R> AsyncDeserializeResponse<T, R> for CollectionResponseDeserializer
Source§fn accept(runtime: &ConjureRuntime) -> Option<HeaderValue>
fn accept(runtime: &ConjureRuntime) -> Option<HeaderValue>
Returns the value of the
Accept header to be included in the request.Source§async fn deserialize(
runtime: &ConjureRuntime,
response: Response<R>,
) -> Result<T, Error>
async fn deserialize( runtime: &ConjureRuntime, response: Response<R>, ) -> Result<T, Error>
Deserializes the response.
Source§impl<T, R> DeserializeResponse<T, R> for CollectionResponseDeserializer
impl<T, R> DeserializeResponse<T, R> for CollectionResponseDeserializer
Source§fn accept(runtime: &ConjureRuntime) -> Option<HeaderValue>
fn accept(runtime: &ConjureRuntime) -> Option<HeaderValue>
Returns the value of the
Accept header to be included in the request.Source§fn deserialize(
runtime: &ConjureRuntime,
response: Response<R>,
) -> Result<T, Error>
fn deserialize( runtime: &ConjureRuntime, response: Response<R>, ) -> Result<T, Error>
Deserializes the response.
Source§impl<T, R> LocalAsyncDeserializeResponse<T, R> for CollectionResponseDeserializer
impl<T, R> LocalAsyncDeserializeResponse<T, R> for CollectionResponseDeserializer
Source§fn accept(runtime: &ConjureRuntime) -> Option<HeaderValue>
fn accept(runtime: &ConjureRuntime) -> Option<HeaderValue>
Returns the value of the
Accept header to be included in the request.Source§async fn deserialize(
runtime: &ConjureRuntime,
response: Response<R>,
) -> Result<T, Error>
async fn deserialize( runtime: &ConjureRuntime, response: Response<R>, ) -> Result<T, Error>
Deserializes the response.