pub struct PeerRpcHttpResponse {
pub status_code: u16,
pub body: Vec<u8>,
}Expand description
Bounded response returned by a PeerTransportProvider.
Fields§
§status_code: u16HTTP status code.
body: Vec<u8>Raw response body.
Trait Implementations§
Source§impl Clone for PeerRpcHttpResponse
impl Clone for PeerRpcHttpResponse
Source§fn clone(&self) -> PeerRpcHttpResponse
fn clone(&self) -> PeerRpcHttpResponse
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 PeerRpcHttpResponse
impl Debug for PeerRpcHttpResponse
impl Eq for PeerRpcHttpResponse
Source§impl PartialEq for PeerRpcHttpResponse
impl PartialEq for PeerRpcHttpResponse
impl StructuralPartialEq for PeerRpcHttpResponse
Auto Trait Implementations§
impl Freeze for PeerRpcHttpResponse
impl RefUnwindSafe for PeerRpcHttpResponse
impl Send for PeerRpcHttpResponse
impl Sync for PeerRpcHttpResponse
impl Unpin for PeerRpcHttpResponse
impl UnsafeUnpin for PeerRpcHttpResponse
impl UnwindSafe for PeerRpcHttpResponse
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