Struct actix_easy_multipart::tempfile::Tempfile
source · pub struct Tempfile {
pub file: NamedTempFile,
pub content_type: Option<Mime>,
pub file_name: Option<String>,
pub size: usize,
}
Expand description
Write the field to a temporary file on disk.
Fields
file: NamedTempFile
The temporary file on disk.
content_type: Option<Mime>
The value of the content-type
header.
file_name: Option<String>
The filename
value in the content-disposition
header.
size: usize
The size in bytes of the file.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Tempfile
impl Send for Tempfile
impl Sync for Tempfile
impl Unpin for Tempfile
impl UnwindSafe for Tempfile
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