Struct salvo_core::http::form::FormData [−][src]
pub struct FormData { pub fields: MultiMap<String, String>, pub files: MultiMap<String, FilePart>, pub multipart: Option<Multipart<Body>>, }
The extracted text fields and uploaded files from a multipart/form-data
request.
Use parse_multipart
to devise this object from a request.
Fields
fields: MultiMap<String, String>
Name-value pairs for plain text fields. Technically, these are form data parts with no
filename specified in the part’s Content-Disposition
.
files: MultiMap<String, FilePart>
Name-value pairs for temporary files. Technically, these are form data parts with a filename
specified in the part’s Content-Disposition
.
multipart: Option<Multipart<Body>>
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for FormData
impl !RefUnwindSafe for FormData
impl !UnwindSafe for FormData
impl !UnwindSafe for FormData
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,