Struct actix_multipart::form::bytes::Bytes
source · pub struct Bytes {
pub data: Bytes,
pub content_type: Option<Mime>,
pub file_name: Option<String>,
}
Expand description
Read the field into memory.
Fields§
§data: Bytes
The data.
content_type: Option<Mime>
The value of the Content-Type
header.
file_name: Option<String>
The filename
value in the Content-Disposition
header.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Bytes
impl Send for Bytes
impl Sync for Bytes
impl Unpin for Bytes
impl UnwindSafe for Bytes
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