pub struct DecodedBody {
pub value: Option<LinoValue>,
pub media_type: Option<String>,
}Expand description
A decoded request body, together with the media type it arrived in.
Fields§
§value: Option<LinoValue>The value, or None when the request carried no body.
media_type: Option<String>The media type the body arrived in, when it carried one.
Trait Implementations§
Source§impl Clone for DecodedBody
impl Clone for DecodedBody
Source§fn clone(&self) -> DecodedBody
fn clone(&self) -> DecodedBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DecodedBody
impl Debug for DecodedBody
Source§impl PartialEq for DecodedBody
impl PartialEq for DecodedBody
impl StructuralPartialEq for DecodedBody
Auto Trait Implementations§
impl Freeze for DecodedBody
impl RefUnwindSafe for DecodedBody
impl Send for DecodedBody
impl Sync for DecodedBody
impl Unpin for DecodedBody
impl UnsafeUnpin for DecodedBody
impl UnwindSafe for DecodedBody
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