pub struct AxumRequestBody(pub RequestBody);Tuple Fields§
§0: RequestBodyImplementations§
Source§impl AxumRequestBody
impl AxumRequestBody
pub fn new() -> Self
pub fn into_string(self) -> String
pub fn into_optional_string(self) -> Option<String>
Trait Implementations§
Source§impl Clone for AxumRequestBody
impl Clone for AxumRequestBody
Source§fn clone(&self) -> AxumRequestBody
fn clone(&self) -> AxumRequestBody
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 AxumRequestBody
impl Debug for AxumRequestBody
Source§impl From<AxumRequestBody> for RequestBody
impl From<AxumRequestBody> for RequestBody
Source§fn from(body: AxumRequestBody) -> Self
fn from(body: AxumRequestBody) -> Self
Converts to this type from the input type.
Source§impl From<RequestBody> for AxumRequestBody
impl From<RequestBody> for AxumRequestBody
Source§fn from(data: RequestBody) -> Self
fn from(data: RequestBody) -> Self
Converts to this type from the input type.
Source§impl<S> FromRequest<S> for AxumRequestBody
impl<S> FromRequest<S> for AxumRequestBody
Auto Trait Implementations§
impl Freeze for AxumRequestBody
impl RefUnwindSafe for AxumRequestBody
impl Send for AxumRequestBody
impl Sync for AxumRequestBody
impl Unpin for AxumRequestBody
impl UnwindSafe for AxumRequestBody
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