pub struct Multipart {
pub parts: PartStream,
}Expand description
A decoded multipart body. Each part’s headers retain its content disposition (including field name and filename), content type, and extension headers.
MIME boundary handling belongs to the codec and the outer Content-Type header. This view models parts, not boundary bytes. The parser adapter owns coordination between the part stream and each part’s content stream.
Fields§
§parts: PartStreamTrait Implementations§
Source§impl DeclaredFields for Multipart
impl DeclaredFields for Multipart
fn into_declared(self) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for Multipart
impl !Sync for Multipart
impl !UnwindSafe for Multipart
impl Freeze for Multipart
impl Send for Multipart
impl Unpin for Multipart
impl UnsafeUnpin for Multipart
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