Struct salvo_core::http::form::FilePart [−][src]
pub struct FilePart { /* fields omitted */ }
Expand description
A file that is to be inserted into a multipart/*
or alternatively an uploaded file that
was received as part of multipart/*
parsing.
Implementations
Get file name mutable reference.
Get headers mutable reference.
If you do not want the file on disk to be deleted when Self drops, call this function. It will become your responsibility to clean up.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FilePart
impl UnwindSafe for FilePart
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more