pub struct PartialFileField<M> {
pub field_name: String,
pub source: MultipartFile<M>,
pub dest: Option<SavedFile>,
}Expand description
The file field that was being read when the save operation quit.
May be partially saved to the filesystem if dest is Some.
Fields§
§field_name: StringThe field name for the partial file.
source: MultipartFile<M>The partial file’s source in the multipart stream (may be partially read if dest
is Some).
dest: Option<SavedFile>The partial file’s entry on the filesystem, if the operation got that far.
Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for PartialFileField<M>where
M: Freeze,
impl<M> RefUnwindSafe for PartialFileField<M>where
M: RefUnwindSafe,
impl<M> Send for PartialFileField<M>where
M: Send,
impl<M> Sync for PartialFileField<M>where
M: Sync,
impl<M> Unpin for PartialFileField<M>where
M: Unpin,
impl<M> UnwindSafe for PartialFileField<M>where
M: UnwindSafe,
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