pub struct Auto;
Expand description
This struct is used to parse response body to json or xml
Implementations§
source§impl Auto
impl Auto
sourcepub fn try_parse<T>(body: ResponseBody) -> ApiResult<T>where
T: 'static + DeserializeOwned,
pub fn try_parse<T>(body: ResponseBody) -> ApiResult<T>where
T: 'static + DeserializeOwned,
Try to parse response
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Auto
impl Send for Auto
impl Sync for Auto
impl Unpin for Auto
impl UnwindSafe for Auto
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