pub struct UcResponse {
pub status: u16,
pub body: Vec<u8>,
}Expand description
A response from the transport: the HTTP status and the raw body.
Fields§
§status: u16HTTP status code.
body: Vec<u8>Raw response body.
Implementations§
Trait Implementations§
Source§impl Clone for UcResponse
impl Clone for UcResponse
Source§fn clone(&self) -> UcResponse
fn clone(&self) -> UcResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UcResponse
impl RefUnwindSafe for UcResponse
impl Send for UcResponse
impl Sync for UcResponse
impl Unpin for UcResponse
impl UnwindSafe for UcResponse
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