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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TempFile
impl RefUnwindSafe for TempFile
impl Send for TempFile
impl Sync for TempFile
impl Unpin for TempFile
impl UnwindSafe for TempFile
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