Struct actix_multipart::form::tempfile::TempFile
source · pub struct TempFile {
pub file: NamedTempFile,
pub content_type: Option<Mime>,
pub file_name: Option<String>,
pub size: usize,
}
Available on crate feature
tempfile
only.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.