Struct afire::multipart::MultipartEntry
source · pub struct MultipartEntry<'a> {
pub name: String,
pub filename: Option<String>,
pub headers: Headers,
pub data: &'a [u8],
}
Expand description
An entry in a multipart request.
Fields§
§name: String
The name of the entry.
filename: Option<String>
The name of the uploaded file, if applicable.
headers: Headers
Other headers of the entry.
data: &'a [u8]
The data of the entry.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for MultipartEntry<'a>
impl<'a> Send for MultipartEntry<'a>
impl<'a> Sync for MultipartEntry<'a>
impl<'a> Unpin for MultipartEntry<'a>
impl<'a> UnwindSafe for MultipartEntry<'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