pub struct BodyString(pub String);Expand description
Extracts the request body as a string.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for BodyString
impl Clone for BodyString
Source§fn clone(&self) -> BodyString
fn clone(&self) -> BodyString
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 moreSource§impl Debug for BodyString
impl Debug for BodyString
Source§impl FromRequest for BodyString
impl FromRequest for BodyString
Source§type Error = ExtractError
type Error = ExtractError
The error type returned when extraction fails.
Auto Trait Implementations§
impl Freeze for BodyString
impl RefUnwindSafe for BodyString
impl Send for BodyString
impl Sync for BodyString
impl Unpin for BodyString
impl UnwindSafe for BodyString
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