pub struct JsonHttpResponse {
pub status: u16,
pub body: Value,
}Expand description
JSON HTTP response returned by a provider transport.
Fields§
§status: u16HTTP status code observed from the provider.
body: ValueDecoded JSON response body.
Trait Implementations§
Source§impl Clone for JsonHttpResponse
impl Clone for JsonHttpResponse
Source§fn clone(&self) -> JsonHttpResponse
fn clone(&self) -> JsonHttpResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonHttpResponse
impl Debug for JsonHttpResponse
Source§impl PartialEq for JsonHttpResponse
impl PartialEq for JsonHttpResponse
Source§fn eq(&self, other: &JsonHttpResponse) -> bool
fn eq(&self, other: &JsonHttpResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JsonHttpResponse
Auto Trait Implementations§
impl Freeze for JsonHttpResponse
impl RefUnwindSafe for JsonHttpResponse
impl Send for JsonHttpResponse
impl Sync for JsonHttpResponse
impl Unpin for JsonHttpResponse
impl UnsafeUnpin for JsonHttpResponse
impl UnwindSafe for JsonHttpResponse
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