pub struct Body(pub Vec<u8>);Expand description
Extracts the raw request body as bytes.
Tuple Fields§
§0: Vec<u8>Trait Implementations§
Source§impl FromRequest for Body
impl FromRequest for Body
Source§type Error = ExtractError
type Error = ExtractError
The error type returned when extraction fails.
Auto Trait Implementations§
impl Freeze for Body
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnwindSafe for Body
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