Struct actix_easy_multipart::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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more