pub struct BodyItem<'a> {
pub info: &'a BodyItemInfo,
pub data: &'a [u8],
pub value: String,
}Expand description
Holds the data and a pointer to the info
Fields§
§info: &'a BodyItemInfo§data: &'a [u8]§value: StringImplementations§
Auto Trait Implementations§
impl<'a> Freeze for BodyItem<'a>
impl<'a> RefUnwindSafe for BodyItem<'a>
impl<'a> Send for BodyItem<'a>
impl<'a> Sync for BodyItem<'a>
impl<'a> Unpin for BodyItem<'a>
impl<'a> UnwindSafe for BodyItem<'a>
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