pub enum EmptyResponseDeserializer {}Expand description
A body deserializer for unit types.
Trait Implementations§
Source§impl<R> AsyncDeserializeResponse<(), R> for EmptyResponseDeserializer
impl<R> AsyncDeserializeResponse<(), R> for EmptyResponseDeserializer
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<(), Error>
async fn deserialize( runtime: &ConjureRuntime, response: Response<R>, ) -> Result<(), Error>
Deserializes the response.
Source§impl<R> DeserializeResponse<(), R> for EmptyResponseDeserializer
impl<R> DeserializeResponse<(), R> for EmptyResponseDeserializer
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<(), Error>
fn deserialize( runtime: &ConjureRuntime, response: Response<R>, ) -> Result<(), Error>
Deserializes the response.
Source§impl<R> LocalAsyncDeserializeResponse<(), R> for EmptyResponseDeserializer
impl<R> LocalAsyncDeserializeResponse<(), R> for EmptyResponseDeserializer
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<(), Error>
async fn deserialize( runtime: &ConjureRuntime, response: Response<R>, ) -> Result<(), Error>
Deserializes the response.