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.
Auto Trait Implementations§
impl Freeze for CollectionResponseDeserializer
impl RefUnwindSafe for CollectionResponseDeserializer
impl Send for CollectionResponseDeserializer
impl Sync for CollectionResponseDeserializer
impl Unpin for CollectionResponseDeserializer
impl UnwindSafe for CollectionResponseDeserializer
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