pub struct Part {
pub name: String,
pub filename: String,
pub content_type: String,
pub data: Vec<u8>,
}
Expand description
A single “part” of a multipart/form-data body.
Yielded from the FormData
stream.
Fields§
§name: String
§filename: String
§content_type: String
§data: Vec<u8>
Auto Trait Implementations§
impl Freeze for Part
impl RefUnwindSafe for Part
impl Send for Part
impl Sync for Part
impl Unpin for Part
impl UnwindSafe for Part
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