pub struct Response { /* private fields */ }
Implementations§
source§impl Response
impl Response
pub fn is_error(&self) -> bool
pub fn result<'a, T: Deserialize<'a>, E: Deserialize<'a>>( &'a self ) -> Result<T, ResponseError<E>>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl !UnwindSafe for Response
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