pub trait FormLike {
// Required methods
fn is_multipart(&self) -> bool;
fn get_meta(&self) -> HashMap<String, String>;
fn get_form(self) -> Option<HashMap<String, String>>;
fn get_multipart(self) -> Option<Form>;
}
Expand description
This trait provides form related functions
Required Methods§
sourcefn is_multipart(&self) -> bool
fn is_multipart(&self) -> bool
Check whether the form is a multipart form
sourcefn get_multipart(self) -> Option<Form>
fn get_multipart(self) -> Option<Form>
Treat the form as a multipart form