pub struct Treq {
pub headers: Headers,
pub body: Vec<u8>,
}
Expand description
Representation of the mux Treq
types.
Fields§
§headers: Headers
Request headers.
body: Vec<u8>
Body of the request.
Trait Implementations§
impl Eq for Treq
impl StructuralPartialEq for Treq
Auto Trait Implementations§
impl Freeze for Treq
impl RefUnwindSafe for Treq
impl Send for Treq
impl Sync for Treq
impl Unpin for Treq
impl UnwindSafe for Treq
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