pub struct BinaryResponse {
pub headers: HeaderMap,
pub content: Bytes,
}
Fields§
§headers: HeaderMap
§content: Bytes
Implementations§
Trait Implementations§
Source§impl Clone for BinaryResponse
impl Clone for BinaryResponse
Source§fn clone(&self) -> BinaryResponse
fn clone(&self) -> BinaryResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !Freeze for BinaryResponse
impl RefUnwindSafe for BinaryResponse
impl Send for BinaryResponse
impl Sync for BinaryResponse
impl Unpin for BinaryResponse
impl UnwindSafe for BinaryResponse
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