pub struct Request {
pub method: &'static [u8],
pub reference: String,
pub headers: Vec<Header>,
pub body: Option<Body>,
}
Fields§
§method: &'static [u8]
§reference: String
§headers: Vec<Header>
§body: Option<Body>
Implementations§
Trait Implementations§
Source§impl Serializable for Request
impl Serializable for Request
fn estimated_size(&self) -> usize
Auto Trait Implementations§
impl Freeze for Request
impl !RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl !UnwindSafe for Request
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